Skip to content

Commit a91b1ae

Browse files
dekimseymartinbaillie
authored andcommitted
ci: Fix goreleaser to support v2
1 parent 461da7b commit a91b1ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.goreleaser.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
report_sizes: false
2+
version: 2
23

34
builds:
45
- env:
@@ -35,7 +36,7 @@ builds:
3536
binary: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
3637

3738
archives:
38-
- format: binary
39+
- formats: [binary]
3940
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
4041

4142
checksum:
@@ -50,7 +51,7 @@ sboms:
5051
- artifacts: binary
5152

5253
snapshot:
53-
name_template: "{{ incpatch .Version }}-rc"
54+
version_template: "{{ incpatch .Version }}-rc"
5455

5556
release:
5657
draft: true

0 commit comments

Comments
 (0)