Skip to content

Commit e5cb71f

Browse files
piyush-gargsavitaashture
authored andcommitted
Fix extra space in binary names
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
1 parent 76a5191 commit e5cb71f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.goreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ builds:
2424
archives:
2525
- name_template: >-
2626
{{ .Binary }}_
27-
{{ .Version }}_
28-
{{ .Os }}_
27+
{{- .Version }}_
28+
{{- .Os }}_
2929
{{- if eq .Arch "amd64" }}x86_64
3030
{{- else if eq .Arch "386" }}i386
3131
{{- else if eq .Arch "darwin" }}MacOS
@@ -92,7 +92,7 @@ brews:
9292
nfpms:
9393
- file_name_template: >-
9494
tkn-pac-
95-
{{.Version}}_{{.Os}}-
95+
{{- .Version}}_{{.Os}}-
9696
{{- if eq .Arch "amd64" }}x86_64
9797
{{- else if eq .Arch "386" }}i386
9898
{{- else if eq .Arch "darwin" }}MacOS

0 commit comments

Comments
 (0)