Fix goreleaser packaging Win packages in tar.gz
This commit is contained in:
parent
e832a24249
commit
852954d5ad
|
@ -28,21 +28,21 @@ builds:
|
|||
goarch:
|
||||
- amd64
|
||||
|
||||
# archives:
|
||||
# - format: tar.gz
|
||||
# # this name template makes the OS and Arch compatible with the results of `uname`.
|
||||
# name_template: >-
|
||||
# {{ .ProjectName }}_
|
||||
# {{- title .Os }}_
|
||||
# {{- if eq .Arch "amd64" }}x86_64
|
||||
# {{- else if eq .Arch "386" }}i386
|
||||
# {{- else }}{{ .Arch }}{{ end }}
|
||||
# {{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||
# # use zip for windows archives
|
||||
# format_overrides:
|
||||
# - goos: windows
|
||||
# format: zip
|
||||
#
|
||||
archives:
|
||||
- format: tar.gz
|
||||
# this name template makes the OS and Arch compatible with the results of `uname`.
|
||||
name_template: >-
|
||||
{{ .ProjectName }}_
|
||||
{{- title .Os }}_
|
||||
{{- if eq .Arch "amd64" }}x86_64
|
||||
{{- else if eq .Arch "386" }}i386
|
||||
{{- else }}{{ .Arch }}{{ end }}
|
||||
{{- if .Arm }}v{{ .Arm }}{{ end }}
|
||||
# use zip for windows archives
|
||||
format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
|
|
Loading…
Reference in New Issue