Skip to content

Commit

Permalink
Inject version in GoReleaser builds
Browse files Browse the repository at this point in the history
  • Loading branch information
eikendev committed Jul 15, 2023
1 parent 7f8c353 commit dd032cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ builds:
- arm64
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/pushbits/cli/internal/buildconfig.Version=v{{.Version}}

checksum:
algorithm: sha256
Expand Down

0 comments on commit dd032cb

Please sign in to comment.