Skip to content

Commit 858a9b3

Browse files
committed
chore: update format_overrides of goreleaser
1 parent eac471f commit 858a9b3

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.goreleaser.yaml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is an example .goreleaser.yml file with some sensible defaults.
22
# Make sure to check the documentation at https://goreleaser.com
3-
version: 2
43

4+
version: 2
55
dist: _output
66
snapshot:
77
version_template: '{{ incpatch .Version }}-next'
@@ -41,10 +41,26 @@ archives:
4141
- CHANGELOG/**
4242
# Can be used to change the archive formats for specific GOOSs.
4343
# Most common use case is to archive as zip on Windows.
44-
# Default is empty.
4544
format_overrides:
46-
- goos: windows
47-
format: [ 'zip' ]
45+
- # Which GOOS to override the format for.
46+
goos: windows
47+
48+
# The formats to use for the given GOOS.
49+
#
50+
# Valid options are:
51+
# - `tar.gz`
52+
# - `tgz`
53+
# - `tar.xz`
54+
# - `txz`
55+
# - `tar.zst`
56+
# - `tzst` # Since: v2.1.
57+
# - `tar`
58+
# - `gz`
59+
# - `zip`
60+
# - `binary` # be extra-cautious with the file name template in this case!
61+
# - `none` # skips this archive
62+
#
63+
formats: ["zip"] # Plural form, multiple formats. Since: v2.6
4864
checksum:
4965
name_template: 'CHECKSUM'
5066
changelog:

0 commit comments

Comments
 (0)