Skip to content

Commit 81392d7

Browse files
committed
fix goreleaser duplicate ldflags
1 parent a4a950e commit 81392d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.goreleaser.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ builds:
3434
- -X "main.version={{ .Version }}"
3535
- -X "main.commit={{ .Commit }}"
3636
- -X "main.date={{ .Date }}"
37+
- -buildmode=exe
3738
env:
3839
- CGO_ENABLED=0
3940
goos:
4041
- windows
4142
goarch:
4243
- amd64
4344
- arm64
44-
ldflags:
45-
- -buildmode=exe

0 commit comments

Comments
 (0)