zrok/.goreleaser-darwin.yml
2022-11-08 11:08:17 -05:00

27 lines
689 B
YAML

builds:
- id: zrok-amd64
main: ./cmd/zrok
binary: zrok
ldflags: "-s -w -X github.com/openziti-test-kitchen/zrok/build.Version={{.Tag}} -X github.com/openziti-test-kitchen/zrok/build.Hash={{.ShortCommit}}"
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- amd64
hooks:
post: gon build/gon-amd64.hcl
- id: zrok-arm64
main: ./cmd/zrok
binary: zrok
ldflags: "-s -w -X github.com/openziti-test-kitchen/zrok/build.Version={{.Tag}} -X github.com/openziti-test-kitchen/zrok/build.Hash={{.ShortCommit}}"
env:
- CGO_ENABLED=1
goos:
- darwin
goarch:
- arm64
hooks:
post: gon build/gon-arm64.hcl