diff --git a/.goreleaser.yml b/.goreleaser.yml index e7c1a383..d92aea54 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: @@ -7,6 +8,9 @@ builds: - env: - CGO_ENABLED=0 + flags: + - -trimpath + ldflags: - -s -w - -X github.com/prometheus/common/version.Version={{.Version}}