Skip to content

Commit

Permalink
Fix Debian ARMv6 and ARMv7 duplicated package names.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoss committed Aug 9, 2024
1 parent d3ac1b7 commit 1130654
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ nfpms:
- nfpm
package_name: "{{ .Var.packageName }}"
release: "1"
file_name_template: "{{.ConventionalFileName}}"
file_name_template: >-
{{- trimsuffix .ConventionalFileName .ConventionalExtension -}}
{{- if and (eq .Arm "6") (eq .ConventionalExtension ".deb") }}6{{ end -}}
{{- if not (eq .Amd64 "v1")}}{{ .Amd64 }}{{ end -}}
{{- .ConventionalExtension -}}
vendor: Smallstep Labs
homepage: https://github.com/smallstep/cli
maintainer: Smallstep <[email protected]>
Expand Down

0 comments on commit 1130654

Please sign in to comment.