feat(goreleaser): update build command to use ModulePath variable
- change hardcoded module path to dynamic reference
🤖
This commit is contained in:
parent
5447047266
commit
3ca5bf48bc
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