From 399fcdb11734ca5a9d61160f502bc364d1612323 Mon Sep 17 00:00:00 2001 From: manisha kumari Date: Tue, 11 Feb 2025 13:13:20 +0530 Subject: [PATCH] asset build mac Signed-off-by: manisha kumari --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1329af0..d4f79bc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -34,7 +34,7 @@ builds: - # macOS Build id: darwin-cgo env: - - CGO_ENABLED=1 + - CGO_ENABLED=0 main: main.go ldflags: '-s -w -X github.com/sensu-community/sensu-plugin-sdk/version.version={{.Version}} -X github.com/sensu-community/sensu-plugin-sdk/version.commit={{.Commit}} -X github.com/sensu-community/sensu-plugin-sdk/version.date={{.Date}}' # Set the binary output location to bin/ so archive will comply with Sensu Go Asset structure