File tree Expand file tree Collapse file tree 3 files changed +58
-1
lines changed Expand file tree Collapse file tree 3 files changed +58
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*.*.*'
7
+
8
+ jobs :
9
+ release :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ with :
16
+ fetch-depth : 0
17
+
18
+ - run : git fetch --force --tags
19
+
20
+ - name : Setup Go
21
+ uses : actions/setup-go@v3
22
+ with :
23
+ go-version : 1.19
24
+ cache : true
25
+ cache-dependency-path : go.sum
26
+
27
+ - name : GoReleaser
28
+ uses : goreleaser/goreleaser-action@v4
29
+ with :
30
+ version : latest
31
+ args : release --rm-dist
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -27,4 +27,5 @@ kubeconfig-merge
27
27
28
28
# vscode
29
29
.vscode
30
- coverage. *
30
+ coverage. *
31
+ dist /
Original file line number Diff line number Diff line change
1
+ builds :
2
+ - env :
3
+ - CGO_ENABLED=0
4
+ goos :
5
+ - linux
6
+ - windows
7
+ - freebsd
8
+ goarch :
9
+ - amd64
10
+ - arm64
11
+ archives :
12
+ - replacements :
13
+ amd64 : x86_64
14
+ checksum :
15
+ name_template : ' checksums.txt'
16
+ snapshot :
17
+ name_template : " {{ incpatch .Version }}-next"
18
+ changelog :
19
+ sort : asc
20
+ filters :
21
+ exclude :
22
+ - ' ^docs:'
23
+ - ' ^test:'
You can’t perform that action at this time.
0 commit comments