Skip to content

Commit f2b8946

Browse files
committed
Updated template for release archives
1 parent 112e1bf commit f2b8946

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.goreleaser.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ builds:
2222
- amd64
2323
- arm64
2424

25+
archives:
26+
- name_template: 'waitfor_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
27+
# Can be used to change the archive formats for specific GOOSs.
28+
# Most common use case is to archive as zip on Windows.
29+
# Default is empty.
30+
format_overrides:
31+
- goos: windows
32+
format: zip
33+
2534
checksum:
2635
name_template: '{{ .ProjectName }}_checksums.txt'
2736

0 commit comments

Comments
 (0)