From 4a8d390a0694b721395770f935fd428ecd3b20bf Mon Sep 17 00:00:00 2001 From: Roy Lee Date: Wed, 25 May 2022 21:49:12 -0700 Subject: [PATCH] [lbry] ci: GoReleaser zero out buildid for reproducible builds (#40) --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index d9806332..f68a4732 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,6 +17,7 @@ builds: - -trimpath ldflags: - -s -w + - -buildid= - -X github.com/lbryio/lbcd/version.appTag={{ .Tag }} targets: - linux_amd64 @@ -33,6 +34,7 @@ builds: - -trimpath ldflags: - -s -w + - -buildid= - -X github.com/lbryio/lbcd/version.appTag={{ .Tag }} env: - CGO_ENABLED=0