Created
March 26, 2022 02:06
-
-
Save caarlos0/6fc2295e09086e2f0cdf31b67592f7d3 to your computer and use it in GitHub Desktop.
reproducible builds with goreleaser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
builds: | |
- env: | |
- CGO_ENABLED=0 | |
goos: | |
- linux | |
- darwin | |
goarch: | |
- amd64 | |
- arm64 | |
mod_timestamp: '{{ .CommitTimestamp }}' | |
flags: | |
- -trimpath | |
ldflags: | |
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} | |
gomod: | |
proxy: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment