zrok/.goreleaser-darwin.yml

27 lines
669 B
YAML

builds:
- id: zrok-amd64
main: ./cmd/zrok
binary: zrok
ldflags: "-s -w -X github.com/openziti/zrok/build.Version={{.Tag}} -X github.com/openziti/zrok/build.Hash={{.ShortCommit}}"
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- amd64
hooks:
post: gon -log-level=info build/gon-amd64.hcl
- 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}}"
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- arm64
hooks:
post: gon -log-level=info build/gon-arm64.hcl