fix: goreleaser name templates

This commit is contained in:
mrekucci 2024-05-03 08:44:18 -05:00
parent 0d4c12fdfd
commit 7829203d82

View file

@ -28,7 +28,9 @@ archives:
{{- if .IsSnapshot }}{{ .ShortCommit }} {{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }} {{- else }}{{ .Version }}
{{ end }} {{ end }}
{{- if .Env.DIRTY_SUFFIX }}{{ .Env.DIRTY_SUFFIX }}{{ end }}_ {{- with index .Env "DIRTY_SUFFIX" -}}
{{ . }}
{{- end -}}_
{{- 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
@ -58,7 +60,9 @@ checksum:
{{- if .IsSnapshot }}{{ .ShortCommit }} {{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }} {{- else }}{{ .Version }}
{{- end }} {{- end }}
{{- if .Env.DIRTY_SUFFIX }}{{ .Env.DIRTY_SUFFIX }}{{ end -}} {{- with index .Env "DIRTY_SUFFIX" -}}
{{ . }}
{{- end -}}
_checksums.txt _checksums.txt
changelog: changelog: