Skip to content

Commit

Permalink
fix: deb name templates
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Nov 2, 2023
1 parent b162d4c commit d1d4cb2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion goreleaser-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ nfpms:
homepage: "{{ .Var.homepage }}"
maintainer: "{{ .Var.maintainer }}"
description: "{{ .Var.description }}"
file_name_template: "{{ .ConventionalFileName }}"
file_name_template: >-
{{- trimsuffix .ConventionalFileName .ConventionalExtension -}}
{{- if and (eq .Arm "6") (eq .ConventionalExtension ".deb") }}6{{ end -}}
{{- .ConventionalExtension -}}
license: MIT
formats:
- apk
Expand Down

0 comments on commit d1d4cb2

Please sign in to comment.