feat(goreleaser): update build command to use .ModulePath
variable
- change hardcoded module path to dynamic reference
🤖
This commit is contained in:
parent
8683cb2a6b
commit
64f790bf90
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ builds:
|
|||
env:
|
||||
- CGO_ENABLED=0
|
||||
ldflags:
|
||||
- -s -w -X git.smsvc.net/pomodoro/GoTomato/internal/metadata.GoTomatoVersion={{.Version}}
|
||||
- -s -w -X {{.ModulePath}}/internal/metadata.GoTomatoVersion={{.Version}}
|
||||
|
||||
upx:
|
||||
- enabled: true
|
||||
|
|
Loading…
Reference in a new issue