1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-05 13:15:26 +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: archives:
- 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 -}}
format_overrides: format_overrides:
- goos: windows - goos: windows
format: zip format: zip