Skip to content

Commit

Permalink
goreleaser: make build reproducible with mod_timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane Duchesneau committed Aug 27, 2020
1 parent b8cff76 commit ad2e69a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ builds:
- CGO_ENABLED=0
main: ./cmd/dfuseeos
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}
mod_timestamp: '{{ .CommitTimestamp }}'
binary: dfuseeos
goos:
- linux
Expand Down

0 comments on commit ad2e69a

Please sign in to comment.