File tree Expand file tree Collapse file tree 3 files changed +51
-0
lines changed Expand file tree Collapse file tree 3 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ tags :
8+ - " v*.*.*"
9+
10+ permissions :
11+ contents : write
12+
13+ jobs :
14+ goreleaser :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v3
19+ with :
20+ fetch-depth : 0
21+
22+ - name : Set up Go
23+ uses : actions/setup-go@v4
24+ with :
25+ go-version : " 1.20"
26+
27+ - name : Run GoReleaser
28+ uses : goreleaser/goreleaser-action@v4
29+ with :
30+ distribution : goreleaser
31+ version : latest
32+ args : release --rm-dist
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11/bin /
22/static /bin /
33/static /helm /* tgz
4+ dist /
Original file line number Diff line number Diff line change 1+ project_name : helmbin
2+ release :
3+ github :
4+ owner : replicatedhq
5+ name : helmbin
6+ builds :
7+ - id : helmbin
8+ goos :
9+ - linux
10+ goarch :
11+ - amd64
12+ env :
13+ - CGO_ENABLED=0
14+ hooks :
15+ pre : make static
16+ main : cmd/helmbin/main.go
You can’t perform that action at this time.
0 commit comments