Skip to content

Commit 6cbffc4

Browse files
committed
Update goreleaser configurations with non-binary archives to support Homebrew. Also, add in arm64 support.
1 parent 655ea6d commit 6cbffc4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.goreleaser.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,20 @@ build:
1818
- windows
1919
goarch:
2020
- amd64
21+
- arm64
2122
env:
2223
- CGO_ENABLED=0
2324

2425
archives:
25-
- format: binary
26+
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
27+
replacements:
28+
darwin: Darwin
29+
linux: Linux
30+
windows: Windows
31+
amd64: x86_64
32+
format_overrides:
33+
- goos: windows
34+
format: zip
2635

2736
snapshot:
2837
name_template: SNAPSHOT-{{ .Commit }}

0 commit comments

Comments
 (0)