mirror of
https://github.com/go-task/task.git
synced 2025-01-06 03:53:54 +02:00
Modify goreleaser defaults for reproducible builds
This commit is contained in:
parent
c4e10ef0aa
commit
7533858a52
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user