Skip to content

Commit 9c89210

Browse files
committed
💚 Add ldflags to goreleaser build
1 parent 6c2bbb7 commit 9c89210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.goreleaser.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ builds:
2222
- linux
2323
- windows
2424
- darwin
25+
ldflags:
26+
- -X main.version={{.Version}}
2527

2628
archives:
2729
- format: tar.gz

0 commit comments

Comments
 (0)