Skip to content

Commit c41c74e

Browse files
committed
Add version string to goreleaser
1 parent 5ae1f6e commit c41c74e

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
@@ -10,6 +10,8 @@ builds:
1010
binary: please
1111
env:
1212
- CGO_ENABLED=0
13+
ldflags:
14+
- -s -w -X github.com/stilvoid/please/internal.Version={{.Version}}
1315
goos:
1416
- linux
1517
- windows

0 commit comments

Comments
 (0)