mirror of
https://github.com/go-task/task.git
synced 2025-08-08 22:36:57 +02:00
Modify goreleaser defaults for reproducible builds
This commit is contained in:
@ -17,6 +17,9 @@ build:
|
||||
goarch: 386
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
||||
flags:
|
||||
- -trimpath
|
||||
ldflags:
|
||||
- -s -w # Don't set main.version.
|
||||
|
||||
|
Reference in New Issue
Block a user