Skip to content

Commit 2a86d3c

Browse files
committed
feat: only release binary, not archives
1 parent 60b0507 commit 2a86d3c

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,7 @@ builds:
1616
- darwin
1717
- windows
1818
archives:
19-
- format: tar.gz
20-
# this name template makes the OS and Arch compatible with the results of `uname`.
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-
# use zip for windows archives
29-
format_overrides:
30-
- goos: windows
31-
format: zip
19+
- format: binary
3220

3321
changelog:
3422
sort: asc

0 commit comments

Comments
 (0)