Skip to content

Commit

Permalink
Fix version (#1)
Browse files Browse the repository at this point in the history
* use correct build time injection after refactor
  • Loading branch information
xx4h authored Sep 30, 2024
1 parent e63ab8a commit 7bf4f12
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 @@ -22,9 +22,9 @@ builds:
- -trimpath
ldflags:
- -s -w
- -X main.version=v{{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
- -X github.com/xx4h/hctl/cmd.version=v{{.Version}}
- -X github.com/xx4h/hctl/cmd.commit={{.Commit}}
- -X github.com/xx4h/hctl/cmd.date={{.Date}}

archives:
- format: tar.gz
Expand Down

0 comments on commit 7bf4f12

Please sign in to comment.