Skip to content

Commit 23eefb6

Browse files
committed
Update .goreleaser.yml
1 parent 89fc4c7 commit 23eefb6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.goreleaser.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,15 @@ builds:
2929
env:
3030
- CGO_ENABLED=0
3131
asmflags:
32-
- all=-trimpath={{.Env.GOPATH}}
32+
- all=-trimpath=.
3333
gcflags:
34-
- all=-trimpath={{.Env.GOPATH}}
34+
- all=-trimpath=.
3535

3636
archives:
3737
- name_template: '{{ .ProjectName }}-v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
38+
format_overrides:
39+
- goos: windows
40+
format: zip
3841

3942
release:
4043
prerelease: auto

0 commit comments

Comments
 (0)