feat(goreleaser): update build command to use ModulePath variable

- change hardcoded module path to dynamic reference

🤖
This commit is contained in:
Sebastian Mark 2024-11-09 22:37:52 +01:00
parent 6708c43cea
commit 92332fe159

View file

@ -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