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+ project_name : instill
2+
3+ release :
4+ prerelease : auto
5+ draft : true
6+ name_template : " Instill CLI {{.Version}}"
7+
8+ env :
9+ - GO111MODULE=on
10+
11+ before :
12+ hooks :
13+ # You may remove this if you don't use go modules.
14+ - go mod tidy
15+
16+ builds :
17+ - << : &build_defaults
18+ binary : bin/instill
19+ main : ./cmd/instill
20+ ldflags :
21+ - -s -w
22+ - -X github.com/instill-ai/cli/internal/build.Version={{ .Version }}
23+ - -X github.com/instill-ai/cli/internal/build.Date={{ time "2006-01-02" }}
24+ - -X github.com/instill-ai/cli/internal/oauth2.oauthClientID={{ .Env.INSTILL_OAUTH_CLIENT_ID }}
25+ - -X github.com/instill-ai/cli/internal/oauth2.oauthClientSecret={{ .Env.INSTILL_OAUTH_CLIENT_SECRET }}
26+ id : macos
27+ goos : [darwin]
28+ goarch : [amd64]
29+
30+ - << : *build_defaults
31+ id : linux
32+ goos : [linux]
33+ goarch : [386, arm, amd64, arm64]
34+ env :
35+ - CGO_ENABLED=0
36+
37+ archives :
38+ - id : nix
39+ builds : [macos, linux]
40+ << : &archive_defaults
41+ name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
42+ wrap_in_directory : true
43+ replacements :
44+ darwin : macOS
45+ format : tar.gz
46+ files :
47+ - LICENSE
48+
49+ checksum :
50+ name_template : ' checksums_v{{ .Version }}_sha256.txt'
51+
52+ snapshot :
53+ name_template : " {{ incpatch .Version }}-next"
54+
55+ changelog :
56+ use : github
57+ sort : asc
58+ groups :
59+ - title : Features
60+ regexp : " ^.*feat[(\\ w)]*:+.*$"
61+ order : 0
62+ - title : ' Bug fixes'
63+ regexp : " ^.*fix[(\\ w)]*:+.*$"
64+ order : 1
65+ - title : Others
66+ order : 999
You can’t perform that action at this time.
0 commit comments