Skip to content

Commit 9b7443e

Browse files
committed
ci: configure archives to use zip on Windows and tar.gz elsewhere (GoReleaser v2)
1 parent 49130ef commit 9b7443e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deploy/.goreleaser.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ builds:
3636
# while ensuring common docs are embedded in the archives.
3737
archives:
3838
- name_template: '{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
39+
formats: ["tar.gz"]
40+
format_overrides:
41+
- goos: windows
42+
formats: ["zip"]
3943
files:
4044
- licence*
4145
- LICENCE*

0 commit comments

Comments
 (0)