File tree 2 files changed +63
-0
lines changed
2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ tags :
5
+ - ' v*'
6
+ jobs :
7
+ goreleaser :
8
+ runs-on : ubuntu-latest
9
+ permissions :
10
+ contents : write
11
+ packages : write
12
+
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
17
+ - uses : actions/setup-go@v5
18
+ with :
19
+ go-version-file : ' go.mod'
20
+ - uses : goreleaser/goreleaser-action@v6
21
+ with :
22
+ args : release --clean
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2
+ version : 2
3
+
4
+ project_name : gh-cherry-pick
5
+
6
+ builds :
7
+ - binary : gh-cherry-pick
8
+ main : ./cmd/cherry-pick/
9
+ env :
10
+ - CGO_ENABLED=0
11
+ goos :
12
+ - darwin
13
+ - windows
14
+ - linux
15
+ goarch :
16
+ - amd64
17
+ - arm64
18
+ - binary : gh-pr-merged-with
19
+ main : ./cmd/pr-merged-with/
20
+ env :
21
+ - CGO_ENABLED=0
22
+ goos :
23
+ - darwin
24
+ - windows
25
+ - linux
26
+ goarch :
27
+ - amd64
28
+ - arm64
29
+
30
+ archives :
31
+ - format : tar.gz
32
+ wrap_in_directory : true
33
+ name_template : " {{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ end }}"
34
+ files :
35
+ - LICENSE
36
+ - README.md
37
+
38
+ snapshot :
39
+ name_template : " SNAPSHOT-{{ .Commit }}"
You can’t perform that action at this time.
0 commit comments