Skip to content

Commit

Permalink
fix: goreleaser name templates
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci committed May 3, 2024
1 parent 0d4c12f commit 7829203
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -28,7 +28,9 @@ archives:
{{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }}
{{ end }}
{{- if .Env.DIRTY_SUFFIX }}{{ .Env.DIRTY_SUFFIX }}{{ end }}_
{{- with index .Env "DIRTY_SUFFIX" -}}
{{ . }}
{{- end -}}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
@@ -58,7 +60,9 @@ checksum:
{{- if .IsSnapshot }}{{ .ShortCommit }}
{{- else }}{{ .Version }}
{{- end }}
{{- if .Env.DIRTY_SUFFIX }}{{ .Env.DIRTY_SUFFIX }}{{ end -}}
{{- with index .Env "DIRTY_SUFFIX" -}}
{{ . }}
{{- end -}}
_checksums.txt
changelog:

0 comments on commit 7829203

Please sign in to comment.