Skip to content

Commit

Permalink
Fix version command
Browse files Browse the repository at this point in the history
Corrects the ldflags used in goreleaser to set version
information
  • Loading branch information
nsmith5 committed Jan 26, 2022
1 parent dabfc96 commit 10535c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ builds:
- "-s -w"
- "-extldflags=-zrelro"
- "-extldflags=-znow"
- "-X github.com/nsmith5/rekor-sidekick/cli/cli.tag={{.Version}}"
- "-X github.com/nsmith5/rekor-sidekick/cli/cli.commit={{.FullCommit}}"
- "-X github.com/nsmith5/rekor-sidekick/cli/cli.date={{.CommitDate}}"
- "-X github.com/nsmith5/rekor-sidekick/cli.tag={{.Version}}"
- "-X github.com/nsmith5/rekor-sidekick/cli.commit={{.FullCommit}}"
- "-X github.com/nsmith5/rekor-sidekick/cli.date={{.CommitDate}}"

gomod:
proxy: true
Expand Down

0 comments on commit 10535c7

Please sign in to comment.