Skip to content

Commit 97ddc80

Browse files
committed
Update deprecated attributes in .goreleaser.yml
`archives.format` and `archives.format_overrides.format` have been updated to be plural (`formats`) and can now accept a list.
1 parent f5e25e1 commit 97ddc80

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.goreleaser.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ builds:
3131
archives:
3232
# binary-only releases - all platforms
3333
- id: binaries
34-
format: binary
34+
formats:
35+
- binary
3536
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
3637
# archive releases containing: binary, readme, and license. tarballs (macos, linux), zip (windows)
3738
- id: archives
@@ -43,7 +44,8 @@ archives:
4344
{{- else }}{{ .Arch }}{{ end }}
4445
format_overrides:
4546
- goos: windows
46-
format: zip
47+
formats:
48+
- zip
4749

4850
checksum:
4951
name_template: "checksums.txt"

0 commit comments

Comments
 (0)