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