Skip to content

Commit

Permalink
fix goreleaser ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
majewsky committed Jun 16, 2022
1 parent 735da35 commit 2ad0d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ builds:
goarch:
- amd64
ldflags:
- -s -w -X main.version={{.Version}}
- -s -w -X github.com/sapcc/go-api-declarations/bininfo.binName=ntp_exporter -X github.com/sapcc/go-api-declarations/bininfo.version={{ .Version }} -X github.com/sapcc/go-api-declarations/bininfo.commit={{ .FullCommit }} -X github.com/sapcc/go-api-declarations/bininfo.buildDate={{ .CommitDate }}
mod_timestamp: '{{ .CommitTimestamp }}' # Ensure builds are reproducible

archives:
Expand Down

0 comments on commit 2ad0d9a

Please sign in to comment.