Skip to content

Commit

Permalink
Fix build version variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpt-erikgeiser committed Jul 11, 2022
1 parent e2a51b9 commit a6492c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ before:
builds:
-
ldflags:
- -s -w -X main.build={{.Version}}
- -s -w -X main.version=v{{.Version}}
env:
- CGO_ENABLED=0
targets:
Expand Down

0 comments on commit a6492c1

Please sign in to comment.