File tree Expand file tree Collapse file tree 3 files changed +60
-1
lines changed
Expand file tree Collapse file tree 3 files changed +60
-1
lines changed Original file line number Diff line number Diff line change 1+ name : goreleaser
2+
3+ on :
4+ push :
5+ tags :
6+ - v*.*.*
7+
8+ jobs :
9+ goreleaser :
10+ runs-on : ubuntu-latest
11+ steps :
12+ -
13+ name : Checkout
14+ uses : actions/checkout@v2
15+ with :
16+ fetch-depth : 0
17+ -
18+ name : Set up Go
19+ uses : actions/setup-go@v2
20+ with :
21+ go-version : 1.14
22+ -
23+ name : Run GoReleaser
24+ uses : goreleaser/goreleaser-action@v2
25+ with :
26+ args : release
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11.DS_Store
22gosh
3-
3+ dist
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+ before :
4+ hooks :
5+ # You may remove this if you don't use go modules.
6+ - go mod download
7+ # you may remove this if you don't need go generate
8+ - go generate ./...
9+ builds :
10+ - env :
11+ - CGO_ENABLED=0
12+ goos :
13+ - darwin
14+ goarch :
15+ - amd64
16+ archives :
17+ - replacements :
18+ darwin : Darwin
19+ amd64 : x86_64
20+ checksum :
21+ name_template : ' checksums.txt'
22+ changelog :
23+ sort : asc
24+ filters :
25+ exclude :
26+ - ' ^docs:'
27+ - ' ^test:'
28+ release :
29+ github :
30+ owner : hyeoksuhan
31+ name : gosh
You can’t perform that action at this time.
0 commit comments