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 - format: tar.gz
name_template: >- name_template: >-
{{- .Binary }}_ {{- .Binary }}_
{{- if .IsSnapshot }}{{ .ShortCommit }}_ {{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }}_ {{- else }}{{ .Version }}
{{ end }} {{ end }}
{{- if .Env.DIRTY_SUFFIX }}{{ .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
@ -56,7 +57,8 @@ checksum:
{{ .ProjectName }}_ {{ .ProjectName }}_
{{- if .IsSnapshot }}{{ .ShortCommit }} {{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }} {{- else }}{{ .Version }}
{{- end -}} {{- end }}
{{- if .Env.DIRTY_SUFFIX }}{{ .Env.DIRTY_SUFFIX }}{{ end -}}
_checksums.txt _checksums.txt
changelog: changelog: