File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ tags :
5+ - ' v*'
6+ jobs :
7+ release :
8+ name : Release
9+ runs-on : ubuntu-18.04
10+ steps :
11+ - name : Setup Go
12+ id : setup-go
13+ uses : actions/setup-go@v2
14+ with :
15+ go-version : ^1.14
16+ - name : Checkout source
17+ uses : actions/checkout@v2
18+ - name : Install tools
19+ run : make install-tools
20+ - name : Lint
21+ run : make lint
22+ - name : Release
23+ shell : bash --noprofile --norc -x -eo pipefail {0}
24+ env :
25+ GO111MODULE : ' on'
26+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
27+ run : |
28+ export GOPATH="$RUNNER_WORKSPACE"
29+ curl --location http://git.io/goreleaser | bash
Original file line number Diff line number Diff line change 1+ project_name : nats-kafka
2+
3+ release :
4+ github :
5+ owner : nats-io
6+ name : nats-kafka
7+ name_template : " Release {{.Tag}}"
8+ draft : true
9+
10+ changelog :
11+ skip : true
12+
13+ builds :
14+ - main : .
15+ id : nats-kafka
16+ binary : nats-kafka
17+ env :
18+ - GO111MODULE=on
19+ - CGO_ENABLED=0
20+ goos :
21+ - darwin
22+ - linux
23+ - windows
24+ - freebsd
25+ goarch :
26+ - amd64
27+ - arm
28+ - arm64
29+ - 386
30+ goarm :
31+ - 6
32+ - 7
33+ ignore :
34+ - goos : darwin
35+ goarch : 386
36+ - goos : freebsd
37+ goarch : arm
38+ - goos : freebsd
39+ goarch : arm64
40+ - goos : freebsd
41+ goarch : 386
42+
43+ archives :
44+ - name_template : ' {{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
45+ id : targz-archives
46+ wrap_in_directory : true
47+ format : tar.gz
48+ files :
49+ - README.md
50+ - LICENSE
51+ - name_template : ' {{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
52+ wrap_in_directory : true
53+ format : zip
54+ files :
55+ - README.md
56+ - LICENSE
57+
58+ checksum :
59+ name_template : " SHA256SUMS"
60+ algorithm : sha256
61+
62+ nfpms :
63+ - file_name_template : ' {{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
64+ homepage : https://nats.io
65+ description : NATS Utility
66+ maintainer : Jaime Piña <jaime@synadia.com>
67+ license : Apache 2.0
68+ vendor : Synadia Inc.
69+ formats :
70+ - deb
71+ - rpm
You can’t perform that action at this time.
0 commit comments