Skip to content

Commit

Permalink
Fix extra space in binary names
Browse files Browse the repository at this point in the history
This will remove the extra space getting added to the
binaries name making home brew binaries fail and
also the binaries getting attached to github release
have an extra '.' in name
  • Loading branch information
piyush-garg authored and savitaashture committed Aug 1, 2023
1 parent 76a5191 commit e5cb71f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ builds:
archives:
- name_template: >-
{{ .Binary }}_
{{ .Version }}_
{{ .Os }}_
{{- .Version }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "darwin" }}MacOS
Expand Down Expand Up @@ -92,7 +92,7 @@ brews:
nfpms:
- file_name_template: >-
tkn-pac-
{{.Version}}_{{.Os}}-
{{- .Version}}_{{.Os}}-
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "darwin" }}MacOS
Expand Down

0 comments on commit e5cb71f

Please sign in to comment.