File tree Expand file tree Collapse file tree 3 files changed +35
-3
lines changed Expand file tree Collapse file tree 3 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- tags :
8- - " v*.*.*"
97
108permissions :
119 contents : write
2927 with :
3028 distribution : goreleaser
3129 version : latest
32- args : release --rm-dist
30+ args : release --snapshot --clean
3331 env :
3432 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*.*.*"
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ goreleaser :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 0
19+
20+ - name : Set up Go
21+ uses : actions/setup-go@v4
22+ with :
23+ go-version : " 1.20"
24+
25+ - name : Run GoReleaser
26+ uses : goreleaser/goreleaser-action@v4
27+ with :
28+ distribution : goreleaser
29+ version : latest
30+ args : release --clean
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -14,3 +14,5 @@ builds:
1414 hooks :
1515 pre : make static
1616 main : cmd/helmbin/main.go
17+ snapshot :
18+ name_template : " devel"
You can’t perform that action at this time.
0 commit comments