File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed
Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ # test this file with
2+ # goreleaser release --config goreleaser.yml --clean --snapshot
3+ version : 2
4+ builds :
5+ - env :
6+ - CGO_ENABLED=0
7+ - GOVERSION=1.19
8+ ldflags :
9+ - -s -w -X github.com/OpenLabsHQ/CLI/cmd.version={{.Version}} -X github.com/OpenLabsHQ/CLI/cmd.buildTime={{.Date}}
10+ flags :
11+ - -trimpath
12+ goos :
13+ - linux
14+ - darwin
15+ - windows
16+ goarch :
17+ - amd64
18+ - arm64
19+ binary : openlabs
20+
21+ nfpms :
22+ - maintainer : " https://github.com/OpenLabsHQ"
23+ package_name : openlabs
24+ formats :
25+ - deb
26+ - rpm
27+ - apk
28+
29+ archives :
30+ - format : tar.gz
31+ name_template : >-
32+ openlabs_
33+ {{- .Version }}_
34+ {{- .Os }}_
35+ {{- if eq .Arch "amd64" }}x86_64
36+ {{- else if eq .Arch "386" }}i386
37+ {{- else }}{{ .Arch }}{{ end }}
38+ {{- if .Arm }}v{{ .Arm }}{{ end }}
39+ format_overrides :
40+ - goos : windows
41+ format : zip
42+ files :
43+ - README.md
44+ - LICENSE*
45+ - CHANGELOG.md
46+
47+ checksum :
48+ name_template : ' checksums.txt'
49+
50+ snapshot :
51+ name_template : " {{ incpatch .Version }}"
52+
53+ release :
54+ draft : false
55+ prerelease : auto
56+
57+ changelog :
58+ sort : asc
59+ filters :
60+ exclude :
61+ - " ^docs:"
62+ - " ^test:"
63+ - " ^ci:"
64+ - " ^chore:"
65+ - " Merge pull request"
66+ - " Merge branch"
You can’t perform that action at this time.
0 commit comments