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