Skip to content

Commit

Permalink
fix: change release archive naming for linux on arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
janosmiko committed Mar 21, 2022
1 parent cf1922b commit 6425b52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ archives:
format_overrides:
- goos: windows
format: zip
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
name_template: '{{- .ProjectName -}}_{{- .Os -}}_{{- if and (eq .Os "Linux") (eq .Arch "arm64") -}}aarch64{{- else -}}{{- .Arch -}}{{- end -}}'
files:
- none*
release:
Expand All @@ -46,7 +46,7 @@ changelog:
- '^test:'
nfpms:
- package_name: reward
file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
file_name_template: '{{- .ProjectName -}}_{{- .Os -}}_{{- if and (eq .Os "Linux") (eq .Arch "arm64") -}}aarch64{{- else -}}{{- .Arch -}}{{- end -}}'
replacements:
darwin: Darwin
linux: Linux
Expand Down

0 comments on commit 6425b52

Please sign in to comment.