Skip to content

Commit 0750b8c

Browse files
committed
chore: Update for goreleaser deprecations
1 parent 30aaa3f commit 0750b8c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.goreleaser.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Check the documentation at http://goreleaser.com
2+
version: 2
23
before:
34
hooks:
45
# You may remove this if you don't use go modules.
@@ -30,24 +31,23 @@ builds:
3031
# Default is `.`.
3132
main: ./cmd/main.go
3233
archives:
33-
- rlcp: true
34-
name_template: >-
34+
- name_template: >-
3535
{{ .ProjectName }}_
3636
{{- title .Os }}_
3737
{{- if eq .Arch "amd64" }}x86_64
3838
{{- else if eq .Arch "386" }}i386
3939
{{- else }}{{ .Arch }}{{ end }}
40-
format: tar.gz
40+
formats: [ tar.gz ]
4141
format_overrides:
4242
- goos: windows
43-
format: zip
43+
formats: [ zip ]
4444
files:
4545
- LICENSE
4646
- README.md
4747
checksum:
4848
name_template: 'checksums.txt'
4949
snapshot:
50-
name_template: "{{ .Tag }}-next"
50+
version_template: "{{ .Tag }}-next"
5151
changelog:
5252
sort: desc
5353
filters:

0 commit comments

Comments
 (0)