Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Commit 0a42802

Browse files
author
Sameer Naik
committed
releases: create release archives instead of binary releases
1 parent 8f6a2a2 commit 0a42802

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.goreleaser.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ builds:
2020

2121
archives:
2222
- id: default
23-
format: binary
24-
name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
23+
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
2524
replacements:
2625
darwin: macOS
26+
format_overrides:
27+
- goos: windows
28+
format: zip
2729

2830
checksum:
2931
name_template: 'checksums.txt'

0 commit comments

Comments
 (0)