fix: compile tool without cgo_enabled flag

Remove the `CGO_ENABLED=0` flag from the `goreleaser` configuration. This
was causing the compiled binary to throw segmentation errors when
collecting metrics.
This commit is contained in:
Hector 2021-02-07 11:43:07 +00:00
parent e94143e81c
commit 0842419136

View File

@ -7,9 +7,7 @@ before:
# you may remove this if you don't need go generate # you may remove this if you don't need go generate
- go generate ./... - go generate ./...
builds: builds:
- env: - goos:
- CGO_ENABLED=0
goos:
- linux - linux
- windows - windows
- darwin - darwin