Skip to content

Commit

Permalink
Fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Apr 28, 2024
1 parent 6487c3d commit b74ce48
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ archives:
format: binary
name_template: >-
{{ .Binary }}_{{ .Os }}-
{{ if eq .Os "linux" -}}
{{ if eq .Arch "arm64" -}}
{{- if eq .Arch "arm64" -}}
{{- if eq .Os "linux" -}}
aarch64
{{ else -}}
{{ if eq .Arch "amd64" -}}
x86_64
{{ else -}}
{{ .Arch -}}
{{ endif -}}
{{ endif -}}
{{ endif }}
{{- else -}}
{{ .Arch }}
{{- end -}}
{{- else if eq .Arch "amd64" -}}
x86_64
{{- else -}}
{{ .Arch }}
{{- end }}
checksum:
name_template: "checksums.txt"
Expand Down

0 comments on commit b74ce48

Please sign in to comment.