Fix goreleaser packaging Win packages in tar.gz

This commit is contained in:
raul 2024-03-31 11:02:27 +02:00
parent e832a24249
commit 852954d5ad
1 changed files with 15 additions and 15 deletions

View File

@ -28,21 +28,21 @@ builds:
goarch: goarch:
- amd64 - amd64
# archives: archives:
# - format: tar.gz - format: tar.gz
# # this name template makes the OS and Arch compatible with the results of `uname`. # this name template makes the OS and Arch compatible with the results of `uname`.
# name_template: >- name_template: >-
# {{ .ProjectName }}_ {{ .ProjectName }}_
# {{- title .Os }}_ {{- title .Os }}_
# {{- if eq .Arch "amd64" }}x86_64 {{- if eq .Arch "amd64" }}x86_64
# {{- else if eq .Arch "386" }}i386 {{- else if eq .Arch "386" }}i386
# {{- else }}{{ .Arch }}{{ end }} {{- else }}{{ .Arch }}{{ end }}
# {{- if .Arm }}v{{ .Arm }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }}
# # use zip for windows archives # use zip for windows archives
# format_overrides: format_overrides:
# - goos: windows - goos: windows
# format: zip format: zip
#
changelog: changelog:
sort: asc sort: asc
filters: filters: