MacOS: add gobuildid

This commit is contained in:
andig 2024-11-18 18:44:03 +01:00
parent 695f49af4f
commit b8b7135028
2 changed files with 5 additions and 1 deletions

View file

@ -32,6 +32,10 @@ builds:
goarch: arm
- goos: windows
goarch: arm64
overrides:
- goos: darwin
ldflags:
- "-B gobuildid"
env:
- CGO_ENABLED=0

View file

@ -77,7 +77,7 @@ build::
CGO_ENABLED=0 go build -v $(BUILD_TAGS) $(BUILD_ARGS)
snapshot::
goreleaser --snapshot --skip-publish --clean
goreleaser --snapshot --skip publish --clean
release::
goreleaser --clean