File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11version : 2
22
33builds :
4- - id : darwin
4+ - id : client
5+ main : .
6+ binary : chissl
57 env :
6- - CGO_ENABLED=1
8+ - CGO_ENABLED=0
79 ldflags :
810 - -s -w -X github.com/unblocked/chissl/share.BuildVersion={{.Version}}
911 flags :
@@ -15,10 +17,9 @@ builds:
1517 - arm64
1618
1719archives :
18- - format : binary
19- files :
20- - none*
2120 - id : homebrew
21+ builds :
22+ - client
2223 name_template : >-
2324 {{- .ProjectName }}_
2425 {{- title .Os }}_
5960 owner : unblocked
6061 name : chissl
6162 branch : brew-releases/{{ .Version }}
62- token : " {{ .Env.GITHUB_TOKEN }}"
63+ token : " {{ .Env.HOMEBREW_TAP_TOKEN }}"
6364 pull_request :
6465 enabled : false
6566 base :
Original file line number Diff line number Diff line change 11version : 2
22
33builds :
4- - id : linux_windows
4+ - id : server
5+ main : .
6+ binary : chissl-server
57 env :
68 - CGO_ENABLED=1
79 ldflags :
@@ -10,29 +12,56 @@ builds:
1012 - -trimpath
1113 goos :
1214 - linux
13- - windows
1415 goarch :
1516 - amd64
1617 - arm64
1718 - arm
1819 goarm :
1920 - 7
21+ tags :
22+ - server
2023 overrides :
2124 - goos : linux
2225 goarch : arm
2326 goarm : 7
2427 env :
2528 - CC=arm-linux-gnueabihf-gcc
29+ - CGO_ENABLED=1
2630 - goos : linux
2731 goarch : arm64
2832 env :
2933 - CC=aarch64-linux-gnu-gcc
34+ - CGO_ENABLED=1
35+
36+ - id : client
37+ main : .
38+ binary : chissl
39+ env :
40+ - CGO_ENABLED=0
41+ ldflags :
42+ - -s -w -X github.com/unblocked/chissl/share.BuildVersion={{.Version}}
43+ flags :
44+ - -trimpath
45+ goos :
46+ - linux
47+ - windows
48+ goarch :
49+ - amd64
50+ - arm64
51+ - arm
52+ goarm :
53+ - 7
3054
3155archives :
32- - format : binary
56+ - id : server_bins
57+ builds :
58+ - server
59+ format : binary
3360 files :
3461 - none*
3562 - id : homebrew
63+ builds :
64+ - client
3665 name_template : >-
3766 {{- .ProjectName }}_
3867 {{- title .Os }}_
You can’t perform that action at this time.
0 commit comments