mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-17 11:57:12 +03:00
🌱 Reproducible builds in goreleaser (#1198)
This commit is contained in:
parent
a53245a9fc
commit
c7511206a1
@ -19,6 +19,11 @@ builds:
|
||||
# or a plain import path (when using GOPATH).
|
||||
- -trimpath
|
||||
- -tags=netgo
|
||||
# Set the modified timestamp on the output binary, typically
|
||||
# you would do this to ensure a build was reproducible. Pass
|
||||
# empty string to skip modifying the output.
|
||||
# Default is empty string.
|
||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
||||
goos:
|
||||
- linux
|
||||
goarch:
|
||||
@ -41,6 +46,11 @@ builds:
|
||||
# or a plain import path (when using GOPATH).
|
||||
- -trimpath
|
||||
- -tags=netgo
|
||||
# Set the modified timestamp on the output binary, typically
|
||||
# you would do this to ensure a build was reproducible. Pass
|
||||
# empty string to skip modifying the output.
|
||||
# Default is empty string.
|
||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
||||
goos:
|
||||
- darwin
|
||||
goarch:
|
||||
@ -61,6 +71,11 @@ builds:
|
||||
# or a plain import path (when using GOPATH).
|
||||
- -trimpath
|
||||
- -tags=netgo
|
||||
# Set the modified timestamp on the output binary, typically
|
||||
# you would do this to ensure a build was reproducible. Pass
|
||||
# empty string to skip modifying the output.
|
||||
# Default is empty string.
|
||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
||||
goos:
|
||||
- windows
|
||||
goarch:
|
||||
|
Loading…
Reference in New Issue
Block a user