Skip to content

Commit a6bb351

Browse files
author
Josh Newman
committed
add ldflags for version
1 parent c0fa5b0 commit a6bb351

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ builds:
55
- binary: ezparams
66
env:
77
- CGO_ENABLED=0
8+
ldflags:
9+
- X github.com/technicallyjosh/easy-params/cmd.version={{ .Version }}
810
archives:
911
- replacements:
1012
darwin: Darwin

0 commit comments

Comments
 (0)