chore: include dirty flag in gorelease

This commit is contained in:
mrekucci 2024-05-02 18:03:34 -05:00
parent 8383ab8c83
commit 5162282480

View file

@ -25,9 +25,10 @@ archives:
- format: tar.gz
name_template: >-
{{- .Binary }}_
{{- if .IsSnapshot }}{{ .ShortCommit }}_
{{- else }}{{ .Version }}_
{{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }}
{{ end }}
{{- if .Env.DIRTY_SUFFIX }}{{ .Env.DIRTY_SUFFIX }}{{ end }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
@ -56,7 +57,8 @@ checksum:
{{ .ProjectName }}_
{{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }}
{{- end -}}
{{- end }}
{{- if .Env.DIRTY_SUFFIX }}{{ .Env.DIRTY_SUFFIX }}{{ end -}}
_checksums.txt
changelog: