From bb719ac3abdcf2383a8616e4335b5996ac091460 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Thu, 3 Nov 2022 17:17:04 -0400 Subject: [PATCH] fix for missing ldflags in darwin build (#70) --- .goreleaser-darwin.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser-darwin.yml b/.goreleaser-darwin.yml index cd11157c6..f07c05044 100644 --- a/.goreleaser-darwin.yml +++ b/.goreleaser-darwin.yml @@ -1,6 +1,7 @@ builds: - 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: