mirror of
https://github.com/pushbits/cli.git
synced 2025-07-23 11:43:00 +02:00
Inject version in GoReleaser builds
This commit is contained in:
@@ -12,6 +12,8 @@ builds:
|
|||||||
- arm64
|
- arm64
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
|
ldflags:
|
||||||
|
- -s -w -X github.com/pushbits/cli/internal/buildconfig.Version=v{{.Version}}
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
algorithm: sha256
|
algorithm: sha256
|
||||||
|
Reference in New Issue
Block a user