mirror of
https://github.com/go-task/task.git
synced 2024-12-12 10:45:49 +02:00
Modify goreleaser defaults for reproducible builds
This commit is contained in:
parent
c4e10ef0aa
commit
7533858a52
@ -17,6 +17,9 @@ build:
|
||||
goarch: 386
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
||||
flags:
|
||||
- -trimpath
|
||||
ldflags:
|
||||
- -s -w # Don't set main.version.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user