File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ before :
2+ hooks :
3+ - go mod tidy
4+ builds :
5+ - env :
6+ - CGO_ENABLED=0
7+ goos :
8+ - linux
9+ - windows
10+ - darwin
11+
12+ archives :
13+ - format : tar.gz
14+ # this name template makes the OS and Arch compatible with the results of uname.
15+ name_template : >-
16+ {{ .ProjectName }}_
17+ {{- title .Os }}_
18+ {{- if eq .Arch "amd64" }}x86_64
19+ {{- else if eq .Arch "386" }}i386
20+ {{- else }}{{ .Arch }}{{ end }}
21+ {{- if .Arm }}v{{ .Arm }}{{ end }}
22+ # use zip for windows archives
23+ format_overrides :
24+ - goos : windows
25+ format : zip
26+ checksum :
27+ name_template : ' checksums.txt'
28+ snapshot :
29+ name_template : " {{ incpatch .Version }}-next"
30+ changelog :
31+ sort : asc
32+ filters :
33+ exclude :
34+ - ' ^docs:'
35+ - ' ^test:'
You can’t perform that action at this time.
0 commit comments