File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ tags :
5
+ - " *"
6
+
7
+ jobs :
8
+ goreleaser :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v3
13
+ with :
14
+ fetch-depth : 0
15
+ - name : Set up Go
16
+ uses : actions/setup-go@v3
17
+ with :
18
+ go-version : ' ^1.19'
19
+ - name : Run GoReleaser
20
+ uses : goreleaser/goreleaser-action@v3
21
+ with :
22
+ version : latest
23
+ args : release --rm-dist
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
Original file line number Diff line number Diff line change
1
+ # This is an example goreleaser.yaml file with some sane defaults.
2
+ # Make sure to check the documentation at http://goreleaser.com
3
+ project_name : review-bot
4
+
5
+ before :
6
+ hooks :
7
+ - go mod download
8
+ builds :
9
+ - main : ./main.go
10
+ env :
11
+ - CGO_ENABLED=0
12
+ goos :
13
+ - linux
14
+ - darwin
15
+ - windows
16
+ archives :
17
+ - format : binary
18
+ checksum :
19
+ name_template : " checksums.txt"
20
+ snapshot :
21
+ name_template : " {{ .Tag }}-next-{{.Commit}}"
22
+
23
+ release :
24
+ github :
25
+ owner : sj14
26
+ name : review-bot
27
+ disable : false
28
+ draft : false
29
+ prerelease : auto
30
+ changelog :
31
+ filters :
32
+ exclude :
33
+ - typo
You can’t perform that action at this time.
0 commit comments