ci: update archive template

This commit is contained in:
Felipe M. 2024-01-01 21:34:37 +01:00
parent e41ef10666
commit ff627e3ca1
Signed by: fmartingr
GPG Key ID: CCFBC5637D4000A8
1 changed files with 3 additions and 7 deletions

View File

@ -26,13 +26,9 @@ builds:
archives:
- rlcp: true
name_template: >-
{{ .ProjectName }}-
{{ .Version }}
{{ .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "darwin" }}macos
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{ .ProjectName }}_
{{- if eq .Os "darwin" }}macos{{- else if eq .Os "linux" }}linux{{- else if eq .Os "windows" }}windows{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "arm64" }}aarch64{{- else }}{{ .Arch }}{{ end }}
source:
enabled: true
name_template: "{{ .ProjectName }}-{{ .Version }}-sources"