File tree 2 files changed +13
-17
lines changed
2 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -66,16 +66,17 @@ builds:
66
66
- windows
67
67
goarch :
68
68
- " 386"
69
- scoop :
70
- bucket :
71
- owner : twitchdev
72
- name : scoop-bucket
73
- homepage : https://github.com/twitchdev/twitch-cli
74
- description : CLI for Twitch's developer offerings
75
- license : Apache-2.0
69
+ scoops :
70
+ -
71
+ repository :
72
+ owner : twitchdev
73
+ name : scoop-bucket
74
+ homepage : https://github.com/twitchdev/twitch-cli
75
+ description : CLI for Twitch's developer offerings
76
+ license : Apache-2.0
76
77
brews :
77
78
-
78
- tap :
79
+ repository :
79
80
owner : twitchdev
80
81
name : homebrew-twitch
81
82
folder : Formula
@@ -87,12 +88,7 @@ brews:
87
88
system "#{bin}/twitch", "version"
88
89
license : Apache-2.0
89
90
archives :
90
- - replacements :
91
- darwin : Darwin
92
- linux : Linux
93
- windows : Windows
94
- 386 : i386
95
- amd64 : x86_64
91
+ - name_template : ' {{ .ProjectName }}_{{ .Version }}_{{- title .Os }}_{{- if eq .Arch "386" }}i386{{- else if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }}'
96
92
format_overrides :
97
93
- goos : windows
98
94
format : zip
Original file line number Diff line number Diff line change 5
5
-v /var/run/docker.sock:/var/run/docker.sock \
6
6
-w /go/src/github.com/twitchdev/twitch-cli \
7
7
-e GITHUB_TOKEN=${GITHUB_TOKEN} \
8
- twitch-cli:latest --rm-dist
8
+ twitch-cli:latest --clean
9
9
10
10
test-release :
11
11
docker build . -t twitch-cli:latest
@@ -14,7 +14,7 @@ test-release:
14
14
-v /var/run/docker.sock:/var/run/docker.sock \
15
15
-w /go/src/github.com/twitchdev/twitch-cli \
16
16
-e GITHUB_TOKEN=${GITHUB_TOKEN} \
17
- twitch-cli:latest --rm-dist --skip-publish --snapshot
17
+ twitch-cli:latest --clean --skip-publish --snapshot
18
18
19
19
build :
20
20
go build --ldflags " -s -w -X main.buildVersion=source"
@@ -23,4 +23,4 @@ build_all:
23
23
xgo -out build/twitch --targets " darwin/amd64,windows/amd64,linux/amd64" --ldflags " -s -w -X main.buildVersion=source" ./
24
24
25
25
clean :
26
- rm -rf ~ /.twitch-cli/eventCache.db
26
+ rm -rf ~ /.twitch-cli/eventCache.db
You can’t perform that action at this time.
0 commit comments