Skip to content

Commit

Permalink
ci: build darwin AMD64 binary
Browse files Browse the repository at this point in the history
Signed-off-by: thediveo <thediveo@gmx.eu>
  • Loading branch information
thediveo committed Dec 20, 2023
1 parent 5467924 commit cc2f01b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ dist: ./dist

before:
hooks:
#- go mod tidy
- go generate .
- ./scripts/go-winres.sh make --in winres.json --product-version=git-tag --file-version=git-tag --arch amd64

Expand All @@ -14,12 +13,13 @@ builds:
targets:
- linux_amd64_v1
- linux_arm64
- darwin_amd64
- darwin_arm64
tags:
- netgo
- osusergo
ldflags:
- 's -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser'
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser'

- id: windows
main: ./cmd/cshargextcap
Expand Down

0 comments on commit cc2f01b

Please # to comment.