Skip to content

Commit e2f06af

Browse files
Update goreleaser config to v2
Signed-off-by: Richard Wall <[email protected]>
1 parent 1b26c7d commit e2f06af

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.goreleaser.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
# Our Makefile will automatically add additional settings
24
# to this builds array (environment variables, flags, ...)
35
builds:
@@ -33,11 +35,11 @@ signs:
3335

3436
archives:
3537
- name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
36-
format: binary
37-
38+
formats: ["binary"]
39+
3840
- id: tar-gz-archives
3941
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
40-
format: tar.gz
42+
formats: ["tar.gz"]
4143

4244
release:
4345
draft: true

0 commit comments

Comments
 (0)