File tree Expand file tree Collapse file tree 3 files changed +80
-0
lines changed
Expand file tree Collapse file tree 3 files changed +80
-0
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+ goreleaser :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v3
14+
15+ - name : Set up Go
16+ uses : actions/setup-go@v4
17+ with :
18+ go-version : " 1.24.4"
19+
20+ - name : Run GoReleaser
21+ uses : goreleaser/goreleaser-action@v4
22+ with :
23+ version : latest
24+ args : release --clean
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ TAP_GITHUB_TOKEN : ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ # Added by goreleaser init:
2+ dist /
Original file line number Diff line number Diff line change 1+ version : 2
2+
3+ before :
4+ hooks :
5+ - go mod tidy
6+
7+ builds :
8+ - id : backend-starter
9+ main : ./
10+ binary : backend-starter
11+ env :
12+ - CGO_ENABLED=0
13+ goos :
14+ - linux
15+ - windows
16+ - darwin
17+ goarch :
18+ - amd64
19+ - arm64
20+
21+ archives :
22+ - id : archive
23+ format : tar.gz
24+ name_template : >-
25+ {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}
26+ format_overrides :
27+ - goos : windows
28+ format : zip
29+
30+ changelog :
31+ sort : asc
32+ filters :
33+ exclude :
34+ - " ^docs:"
35+ - " ^test:"
36+
37+ brews :
38+ - name : backend-starter
39+ tap :
40+ owner : Walon-Foundation
41+ name : homebrew-tap
42+ commit_author :
43+ name : CI Bot
44+ email : ci@example.com
45+ description : " A backend starter CLI written in Go"
46+ homepage : " https://github.com/Walon-Foundation/backend-starter-cli"
47+
48+ release :
49+ github :
50+ owner : Walon-Foundation
51+ name : backend-starter-cli
You can’t perform that action at this time.
0 commit comments