Skip to content

Commit 82db792

Browse files
author
Lin Yang
committed
fix: goreleaser config
Signed-off-by: Lin Yang <reaver@flomesh.io>
1 parent c9a4a38 commit 82db792

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.goreleaser.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# For local testing, use:
44
#
55
# goreleaser release --snapshot --clean
6+
version: 2
7+
68
project_name: gwctl
79

810
before:
@@ -34,7 +36,7 @@ builds:
3436
- -X github.com/flomesh-io/gwctl/pkg/version.buildDate={{.Date}}
3537

3638
archives:
37-
- format: tar.gz
39+
- formats: tar.gz
3840
# This name template makes the OS and Arch compatible with the results of
3941
# uname.
4042
name_template: >-
@@ -47,4 +49,4 @@ archives:
4749
# Use zip for windows archives
4850
format_overrides:
4951
- goos: windows
50-
format: zip
52+
formats: zip

0 commit comments

Comments
 (0)