File tree 1 file changed +28
-36
lines changed
1 file changed +28
-36
lines changed Original file line number Diff line number Diff line change 1
- before :
2
- hooks :
3
- - go mod tidy
4
- - go generate ./...
5
- builds :
6
- - env :
7
- - CGO_ENABLED=0
8
- goos :
9
- - linux
10
- - windows
11
- - darwin
12
- goarch :
13
- - amd64
14
- - arm64
15
- archives :
16
- - replacements :
17
- darwin : Darwin
18
- linux : Linux
19
- windows : Windows
20
- amd64 : x86_64
21
- checksum :
22
- name_template : ' checksums.txt'
23
- snapshot :
24
- name_template : " {{ incpatch .Version }}-next"
25
- changelog :
26
- sort : asc
27
- filters :
28
- exclude :
29
- - ' ^docs:'
30
- - ' ^test:'
31
- brews :
32
- - name : gtrace
33
- homepage : https://github.com/moshebe/gtrace
34
- tap :
35
- owner : moshebe
36
- name : homebrew-pkg
1
+ name : release
2
+ on :
3
+ push :
4
+ tags :
5
+ - " *"
6
+ jobs :
7
+ build :
8
+ name : Build
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Check out code into the Go module directory
12
+ uses : actions/checkout@v3
13
+ with :
14
+ fetch-depth : 0 # See: https://goreleaser.com/ci/actions/
15
+
16
+ - name : Set up Go 1.18
17
+ uses : actions/setup-go@v3
18
+ with :
19
+ go-version : 1.18
20
+ id : go
21
+
22
+ - name : Release
23
+ uses : goreleaser/goreleaser-action@master
24
+ with :
25
+ version : latest
26
+ args : release --rm-dist
27
+ env :
28
+ GITHUB_TOKEN : ${{ secrets.GO_RELEASER_TOKEN }}
You can’t perform that action at this time.
0 commit comments