Skip to content

Commit

Permalink
Upgrade goreleaser to version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Dec 17, 2024
1 parent d860dee commit 24e9c39
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ nfpms:
- rpm
overrides:
deb:
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
file_name_template: >-
{{- .ProjectName }}-
{{- .Version }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "arm64" }}aarch64
{{- else }}{{ .Arch }}{{ end }}
scripts:
postinstall: ./scripts/nfpm/postinstall.sh
rpm:
Expand Down

0 comments on commit 24e9c39

Please sign in to comment.