MacOS: add gobuildid
This commit is contained in:
parent
695f49af4f
commit
b8b7135028
2 changed files with 5 additions and 1 deletions
|
|
@ -32,6 +32,10 @@ builds:
|
|||
goarch: arm
|
||||
- goos: windows
|
||||
goarch: arm64
|
||||
overrides:
|
||||
- goos: darwin
|
||||
ldflags:
|
||||
- "-B gobuildid"
|
||||
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue