Skip to content

Commit 368258c

Browse files
committed
feat(ci): update configuration schema to support multiple archive formats
- Add a top-level version field set to 2 in the configuration - Update the archives format specification to use a list instead of a single value Signed-off-by: appleboy <[email protected]>
1 parent 86e5fbd commit 368258c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.goreleaser.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
before:
23
hooks:
34
- go mod tidy
@@ -83,7 +84,7 @@ builds:
8384
main: ./cmd/codegpt
8485

8586
archives:
86-
- format: binary
87+
- formats: ["binary"]
8788
name_template: "{{ .Binary }}"
8889
allow_different_binary_count: true
8990

0 commit comments

Comments
 (0)