[lbry] ci: GoReleaser zero out buildid for reproducible builds #40

Merged
roylee17 merged 1 commit from roylee/support-reprodicible-builds into master 2022-05-26 06:49:12 +02:00

View file

@ -17,6 +17,7 @@ builds:
- -trimpath - -trimpath
ldflags: ldflags:
- -s -w - -s -w
- -buildid=
- -X github.com/lbryio/lbcd/version.appTag={{ .Tag }} - -X github.com/lbryio/lbcd/version.appTag={{ .Tag }}
targets: targets:
- linux_amd64 - linux_amd64
@ -33,6 +34,7 @@ builds:
- -trimpath - -trimpath
ldflags: ldflags:
- -s -w - -s -w
- -buildid=
- -X github.com/lbryio/lbcd/version.appTag={{ .Tag }} - -X github.com/lbryio/lbcd/version.appTag={{ .Tag }}
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0