From 084241913652c5cce3a80408be5d0c5015f0f67c Mon Sep 17 00:00:00 2001 From: Hector Date: Sun, 7 Feb 2021 11:43:07 +0000 Subject: [PATCH] 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. --- .goreleaser.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 8659855..2325553 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -7,9 +7,7 @@ before: # you may remove this if you don't need go generate - go generate ./... builds: - - env: - - CGO_ENABLED=0 - goos: + - goos: - linux - windows - darwin