Inject version in GoReleaser builds

This commit is contained in:
eikendev
2023-07-15 23:56:14 +02:00
parent 7f8c353af1
commit dd032cb3d0

View File

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