Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.

Commit 5cfede6

Browse files
committed
Keep TARs for Homebrew
1 parent 6c7fc9a commit 5cfede6

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎.goreleaser.yaml‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,17 @@ builds:
1717
- darwin
1818

1919
archives:
20-
- format: binary
21-
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
20+
- format: tar.gz
21+
name_template: >-
22+
{{ .ProjectName }}_
23+
{{- title .Os }}_
24+
{{- if eq .Arch "amd64" }}x86_64
25+
{{- else if eq .Arch "386" }}i386
26+
{{- else }}{{ .Arch }}{{ end }}
27+
{{- if .Arm }}v{{ .Arm }}{{ end }}
28+
format_overrides:
29+
- goos: windows
30+
format: zip
2231

2332
changelog:
2433
sort: asc

0 commit comments

Comments
 (0)