File tree 3 files changed +67
-1
lines changed
3 files changed +67
-1
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
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ goreleaser :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout
16
+ uses : actions/checkout@v4
17
+ with :
18
+ fetch-depth : 0
19
+
20
+ - name : Set up Go
21
+ uses : actions/setup-go@v4
22
+ with :
23
+ go-version : ' 1.23'
24
+
25
+ - name : Run GoReleaser
26
+ uses : goreleaser/goreleaser-action@v5
27
+ with :
28
+ distribution : goreleaser
29
+ version : latest
30
+ args : release --clean
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ before :
2
+ hooks :
3
+ - go mod tidy
4
+
5
+ builds :
6
+ - id : got
7
+ main : ./cmd/got
8
+ binary : got
9
+ goos :
10
+ - linux
11
+ - windows
12
+ - darwin
13
+ goarch :
14
+ - amd64
15
+ - arm64
16
+
17
+ archives :
18
+ - format : tar.gz
19
+ # use zip for windows archives
20
+ format_overrides :
21
+ - goos : windows
22
+ format : zip
23
+
24
+ changelog :
25
+ sort : asc
26
+ filters :
27
+ exclude :
28
+ - ' ^docs:'
29
+ - ' ^test:'
30
+ - ' ^ci:'
31
+ - Merge pull request
32
+ - Merge branch
Original file line number Diff line number Diff line change 1
1
module github.com/gotray/got
2
2
3
- go 1.23.3
3
+ go 1.21
4
+
5
+ toolchain go1.23.3
4
6
5
7
require (
6
8
github.com/fatih/color v1.18.0
You can’t perform that action at this time.
0 commit comments