1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00

build: improve archive name_template

This commit is contained in:
Carlos Alexandro Becker 2023-08-03 12:33:02 +00:00
parent 635b051ad5
commit 9e5d6458b3
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -151,12 +151,12 @@ docker_manifests:
archives:
- name_template: >-
{{ .ProjectName }}_
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip