fix: disable goreleaser checksums.txt and restrict zip to windows only

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
pull/31343/head
Terry Howe 4 months ago
parent e49a1dc16e
commit 93103ce66c
No known key found for this signature in database

@ -67,6 +67,10 @@ archives:
{{- .Version }}- {{- .Version }}-
{{- .Os }}- {{- .Os }}-
{{- .Arch }} {{- .Arch }}
formats:
- tar.gz
format_overrides:
- goos: windows
formats: formats:
- tar.gz - tar.gz
- zip - zip
@ -75,7 +79,7 @@ archives:
- README.md - README.md
checksum: checksum:
name_template: 'checksums.txt' disable: true
snapshot: snapshot:
version_template: "{{ if index .Env \"GORELEASER_CURRENT_TAG\" }}{{ .Env.GORELEASER_CURRENT_TAG }}{{ else }}{{ incpatch .Version }}-next{{ end }}" version_template: "{{ if index .Env \"GORELEASER_CURRENT_TAG\" }}{{ .Env.GORELEASER_CURRENT_TAG }}{{ else }}{{ incpatch .Version }}-next{{ end }}"

Loading…
Cancel
Save