Skip to content

Commit

Permalink
Inject build version with GoReleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
eikendev committed Apr 20, 2022
1 parent 8649287 commit 60e3f21
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 @@ -5,6 +5,8 @@ builds:
- linux
goarch:
- amd64
ldflags:
- -s -w -X github.com/eikendev/hackenv/internal/buildconfig.Version=v{{.Version}}

checksum:
algorithm: sha256
Expand Down

0 comments on commit 60e3f21

Please sign in to comment.