Skip to content

Commit f8417a0

Browse files
committed
chore: fix goreleaser deprecation warnings
1 parent a147479 commit f8417a0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.goreleaser.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ builds:
2929

3030
archives:
3131
- id: default
32-
format: tar.gz
3332
# this name template makes the OS and Arch compatible with the results of uname.
3433
name_template: >-
3534
{{ .ProjectName }}_
@@ -38,10 +37,13 @@ archives:
3837
{{- else if eq .Arch "386" }}i386
3938
{{- else }}{{ .Arch }}{{ end }}
4039
{{- if .Arm }}v{{ .Arm }}{{ end }}
41-
# use zip for windows archives
4240
format_overrides:
4341
- goos: windows
4442
format: zip
43+
- goos: linux
44+
format: tar.gz
45+
- goos: darwin
46+
format: tar.gz
4547
files:
4648
- README.md
4749
- LICENSE
@@ -50,7 +52,7 @@ archives:
5052
checksum:
5153
name_template: 'checksums.txt'
5254
snapshot:
53-
name_template: "{{ incpatch .Version }}-next"
55+
version_template: "{{ incpatch .Version }}-next"
5456
changelog:
5557
sort: asc
5658
filters:

0 commit comments

Comments
 (0)