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