zrok/.goreleaser-darwin.yml

27 lines
669 B
YAML
Raw Normal View History

2022-11-03 21:51:22 +01:00
builds:
2022-11-08 17:08:17 +01:00
- id: zrok-amd64
main: ./cmd/zrok
2022-11-03 21:51:22 +01:00
binary: zrok
ldflags: "-s -w -X github.com/openziti/zrok/build.Version={{.Tag}} -X github.com/openziti/zrok/build.Hash={{.ShortCommit}}"
2022-11-03 21:51:22 +01:00
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- amd64
2022-11-08 17:08:17 +01:00
hooks:
post: gon -log-level=info build/gon-amd64.hcl
2022-11-08 17:08:17 +01:00
- id: zrok-arm64
main: ./cmd/zrok
binary: zrok
ldflags: "-s -w -X github.com/openziti/zrok/build.Version={{.Tag}} -X github.com/openziti/zrok/build.Hash={{.ShortCommit}}"
2022-11-08 17:08:17 +01:00
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- arm64
hooks:
post: gon -log-level=info build/gon-arm64.hcl