diff --git a/.goreleaser.yml b/.goreleaser.yml index bc550dad..4a3d4426 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: