Skip to content

Commit f2fecc8

Browse files
committed
chore: fix .goreleaser deprecation warnings
1 parent e11309f commit f2fecc8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.goreleaser.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
builds:
23
- env:
34
- CGO_ENABLED=0
@@ -25,7 +26,7 @@ builds:
2526
goarch: '386'
2627
binary: '{{ .ProjectName }}_v{{ .Version }}'
2728
archives:
28-
- format: tar.gz
29+
- formats: [ 'tar.gz' ]
2930
name_template: >-
3031
{{ .ProjectName }}_
3132
{{- .Os }}_
@@ -35,7 +36,7 @@ archives:
3536
{{- if .Arm }}v{{ .Arm }}{{ end }}
3637
format_overrides:
3738
- goos: windows
38-
format: zip
39+
formats: [ 'zip' ]
3940
report_sizes: true
4041
sboms:
4142
- artifacts: archive

0 commit comments

Comments
 (0)