Skip to content

Commit

Permalink
add release information
Browse files Browse the repository at this point in the history
  • Loading branch information
foxdalas committed Feb 10, 2022
1 parent 41d1169 commit 1b28139
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ release:
builds:
- id: sphinx-exporter
binary: sphinx-exporter
ldflags:
- "-X github.com/prometheus/common/version.Version={{ .Version }}"
- "-X github.com/prometheus/common/version.BuildDate={{.Date}}"
- "-X github.com/prometheus/common/version.BuildUser=goreleaser"
- "-X github.com/prometheus/common/version.Revision={{.Commit}}"
- "-X github.com/prometheus/common/version.Branch={{.Branch}}"
goos:
- linux
goarch:
Expand Down

0 comments on commit 1b28139

Please sign in to comment.