Skip to content

Commit 3d06003

Browse files
fix: goreleaser build
1 parent c58d9d5 commit 3d06003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ builds:
1111
main: ./
1212
ldflags:
1313
- -extldflags '-static'
14-
- -s -w -X version={{.Version}}
14+
- -s -w -X main.version={{.Version}}
1515

1616
archives:
1717
- format: binary

0 commit comments

Comments
 (0)