Fix goreleaser artifact names (#125)

This commit is contained in:
Itxaka
2023-08-08 18:18:57 +02:00
committed by GitHub
parent 3a6bd03e24
commit b5e1e7a8ee

View File

@@ -17,13 +17,7 @@ source:
archives: archives:
# Default template uses underscores instead of - # Default template uses underscores instead of -
- name_template: >- - name_template: >-
{{ .ProjectName }}- {{ .ProjectName }}-{{ .Tag }}-{{- title .Os }}-{{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "386" }}i386{{- else }}{{ .Arch }}{{ end }}{{- if .Arm }}v{{ .Arm }}{{ end }}
{{ .Tag }}-
{{- title .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
checksum: checksum:
name_template: '{{ .ProjectName }}-{{ .Tag }}-checksums.txt' name_template: '{{ .ProjectName }}-{{ .Tag }}-checksums.txt'
snapshot: snapshot: