File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags : ['v*']
6+
7+ jobs :
8+ release :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+ - uses : actions/setup-go@v5
17+ with :
18+ go-version : stable
19+ - uses : goreleaser/goreleaser-action@v6
20+ with :
21+ args : release --clean
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ builds :
4+ - env : [CGO_ENABLED=0]
5+ goos : [linux, darwin]
6+ goarch : [amd64, arm64]
7+
8+ archives :
9+ - formats : [tar.gz]
10+ name_template : ' {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
11+
12+ changelog :
13+ sort : asc
14+ filters :
15+ exclude : ['^docs:', '^test:']
You can’t perform that action at this time.
0 commit comments