-
Notifications
You must be signed in to change notification settings - Fork 2
/
bindown.yml
352 lines (352 loc) · 12.1 KB
/
bindown.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
cache: ./bin/.bindown
install_dir: ./bin
systems:
- darwin/amd64
- darwin/arm64
- linux/amd64
- windows/amd64
dependencies:
gh:
template: origin#gh
vars:
version: 2.30.0
go:
template: origin#go
vars:
version: 1.20.2
gofumpt:
template: origin#gofumpt
vars:
version: 0.4.0
golangci-lint:
template: origin#golangci-lint
vars:
version: 1.54.2
goreleaser:
template: origin#goreleaser
vars:
version: 1.18.2
shellcheck:
template: origin#shellcheck
vars:
version: 0.9.0
shfmt:
template: origin#shfmt
vars:
version: 3.6.0
yq:
template: origin#yq
vars:
version: 4.33.3
templates:
bindown-checksums:
url: https://github.com/WillAbides/bindown/releases/download/{{.tag}}/checksums.txt
bin: checksums.txt
required_vars:
- tag
origin#gh:
homepage: https://github.com/cli/cli
description: GitHub’s official command line tool
url: https://github.com/cli/cli/releases/download/v{{.version}}/gh_{{.version}}_{{.os}}_{{.arch}}{{.urlSuffix}}
archive_path: gh_{{.version}}_{{.os}}_{{.arch}}/bin/gh{{.archivePathSuffix}}
bin: gh
vars:
archivePathSuffix: ""
urlSuffix: .zip
overrides:
- matcher:
os:
- windows
dependency:
archive_path: bin/gh{{.archivePathSuffix}}
vars:
archivePathSuffix: .exe
- matcher:
os:
- linux
dependency:
vars:
urlSuffix: .tar.gz
- matcher:
os:
- darwin
version:
- < 2.28.0
dependency:
vars:
urlSuffix: .tar.gz
substitutions:
os:
darwin: macOS
systems:
- darwin/amd64
- darwin/arm64
- linux/386
- linux/amd64
- linux/arm64
- windows/386
- windows/amd64
- windows/arm64
required_vars:
- version
origin#go:
url: https://dl.google.com/go/go{{.version}}.{{.os}}-{{.arch}}{{.urlSuffix}}
archive_path: go/bin/go{{.archivePathSuffix}}
bin: go
link: true
vars:
archivePathSuffix: ""
urlSuffix: .tar.gz
overrides:
- matcher:
os:
- windows
dependency:
vars:
archivePathSuffix: .exe
urlSuffix: .zip
systems:
- darwin/amd64
- darwin/arm64
- freebsd/386
- freebsd/amd64
- linux/386
- linux/amd64
- linux/arm64
- linux/ppc64le
- linux/s390x
- windows/386
- windows/amd64
- windows/arm64
required_vars:
- version
origin#gofumpt:
url: https://github.com/mvdan/gofumpt/releases/download/v{{.version}}/gofumpt_v{{.version}}_{{.os}}_{{.arch}}{{.urlSuffix}}
archive_path: gofumpt_v{{.version}}_{{.os}}_{{.arch}}{{.urlSuffix}}
bin: gofumpt
vars:
archivePathSuffix: ""
urlSuffix: ""
overrides:
- matcher:
os:
- windows
dependency:
vars:
urlSuffix: .exe
systems:
- darwin/amd64
- darwin/arm64
- linux/386
- linux/amd64
- linux/arm64
- windows/386
- windows/amd64
required_vars:
- version
origin#golangci-lint:
url: https://github.com/golangci/golangci-lint/releases/download/v{{.version}}/golangci-lint-{{.version}}-{{.os}}-{{.arch}}{{.urlSuffix}}
archive_path: golangci-lint-{{.version}}-{{.os}}-{{.arch}}/golangci-lint{{.archivePathSuffix}}
bin: golangci-lint
vars:
archivePathSuffix: ""
urlSuffix: .tar.gz
overrides:
- matcher:
os:
- windows
dependency:
vars:
archivePathSuffix: .exe
urlSuffix: .zip
systems:
- darwin/amd64
- darwin/arm64
- freebsd/386
- freebsd/amd64
- linux/386
- linux/amd64
- linux/arm64
- linux/loong64
- linux/mips64
- linux/mips64le
- linux/ppc64le
- linux/riscv64
- linux/s390x
- netbsd/386
- netbsd/amd64
- windows/386
- windows/amd64
- windows/arm64
required_vars:
- version
origin#goreleaser:
url: https://github.com/goreleaser/goreleaser/releases/download/v{{.version}}/goreleaser_{{.os}}_{{.arch}}{{.urlSuffix}}
archive_path: goreleaser{{.archivePathSuffix}}
bin: goreleaser
vars:
archivePathSuffix: ""
urlSuffix: .tar.gz
overrides:
- matcher:
os:
- windows
dependency:
vars:
archivePathSuffix: .exe
urlSuffix: .zip
substitutions:
arch:
"386": i386
amd64: x86_64
os:
windows: Windows
substitutions:
arch:
"386": i386
amd64: x86_64
os:
darwin: Darwin
linux: Linux
systems:
- darwin/amd64
- darwin/arm64
- linux/386
- linux/amd64
- linux/arm64
- linux/ppc64
- windows/386
- windows/amd64
- windows/arm64
required_vars:
- version
origin#shellcheck:
url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.{{.os}}.{{.arch}}{{.urlSuffix}}
archive_path: shellcheck-v{{.version}}/shellcheck{{.archivePathSuffix}}
bin: shellcheck
vars:
archivePathSuffix: ""
urlSuffix: .tar.xz
overrides:
- matcher:
os:
- windows
dependency:
url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.zip
archive_path: shellcheck.exe
- matcher:
arch:
- arm64
os:
- darwin
dependency:
substitutions:
arch:
arm64: x86_64
substitutions:
arch:
amd64: x86_64
arm64: aarch64
systems:
- darwin/amd64
- darwin/arm64
- linux/amd64
- linux/arm64
required_vars:
- version
origin#shfmt:
url: https://github.com/mvdan/sh/releases/download/v{{.version}}/shfmt_v{{.version}}_{{.os}}_{{.arch}}{{.urlSuffix}}
archive_path: shfmt_v{{.version}}_{{.os}}_{{.arch}}{{.urlSuffix}}
bin: shfmt
vars:
archivePathSuffix: ""
urlSuffix: ""
overrides:
- matcher:
os:
- windows
dependency:
vars:
urlSuffix: .exe
systems:
- darwin/amd64
- darwin/arm64
- linux/386
- linux/amd64
- linux/arm64
- windows/386
- windows/amd64
required_vars:
- version
origin#yq:
url: https://github.com/mikefarah/yq/releases/download/v{{.version}}/yq_{{.os}}_{{.arch}}{{.urlSuffix}}
archive_path: ./yq_{{.os}}_{{.arch}}{{.archivePathSuffix}}
bin: yq
vars:
archivePathSuffix: ""
urlSuffix: .tar.gz
overrides:
- matcher:
os:
- windows
dependency:
archive_path: yq_{{.os}}_{{.arch}}{{.archivePathSuffix}}
vars:
archivePathSuffix: .exe
urlSuffix: .zip
systems:
- darwin/amd64
- darwin/arm64
- freebsd/386
- freebsd/amd64
- linux/386
- linux/amd64
- linux/arm64
- linux/mips
- linux/mips64
- linux/mips64le
- linux/mipsle
- linux/ppc64
- linux/ppc64le
- linux/s390x
- netbsd/386
- netbsd/amd64
- openbsd/386
- openbsd/amd64
- windows/386
- windows/amd64
required_vars:
- version
template_sources:
origin: https://raw.githubusercontent.com/WillAbides/bindown-templates/main/bindown.yml
url_checksums:
https://dl.google.com/go/go1.20.2.darwin-amd64.tar.gz: c93b8ced9517d07e1cd4c362c6e2d5242cb139e29b417a328fbf19aded08764c
https://dl.google.com/go/go1.20.2.darwin-arm64.tar.gz: 7343c87f19e79c0063532e82e1c4d6f42175a32d99f7a4d15e658e88bf97f885
https://dl.google.com/go/go1.20.2.linux-amd64.tar.gz: 4eaea32f59cde4dc635fbc42161031d13e1c780b87097f4b4234cfce671f1768
https://dl.google.com/go/go1.20.2.windows-amd64.zip: fe439f0e438f7555a7f5f7194ddb6f4a07b0de1fa414385d19f2aeb26d9f43db
https://github.com/cli/cli/releases/download/v2.30.0/gh_2.30.0_linux_amd64.tar.gz: 5aee45bd42a27f5be309373c326e45cbcc7f04591b1798581a3094af767225b7
https://github.com/cli/cli/releases/download/v2.30.0/gh_2.30.0_macOS_amd64.zip: 6b91c446586935de0e9df82da58309b2d1b83061cfcd4cc173124270f1277ca7
https://github.com/cli/cli/releases/download/v2.30.0/gh_2.30.0_macOS_arm64.zip: 32a71652367f3cf664894456e4c4f655faa95964d71cc3a449fbf64bdce1fff1
https://github.com/cli/cli/releases/download/v2.30.0/gh_2.30.0_windows_amd64.zip: 7d466686978e3c93e1a412229a77921288862cec183e94ad06cd36bfcd34ebaf
https://github.com/golangci/golangci-lint/releases/download/v1.54.2/golangci-lint-1.54.2-darwin-amd64.tar.gz: 925c4097eae9e035b0b052a66d0a149f861e2ab611a4e677c7ffd2d4e05b9b89
https://github.com/golangci/golangci-lint/releases/download/v1.54.2/golangci-lint-1.54.2-darwin-arm64.tar.gz: 7b33fb1be2f26b7e3d1f3c10ce9b2b5ce6d13bb1d8468a4b2ba794f05b4445e1
https://github.com/golangci/golangci-lint/releases/download/v1.54.2/golangci-lint-1.54.2-linux-amd64.tar.gz: 17c9ca05253efe833d47f38caf670aad2202b5e6515879a99873fabd4c7452b3
https://github.com/golangci/golangci-lint/releases/download/v1.54.2/golangci-lint-1.54.2-windows-amd64.zip: ce17d122f3f93e0a9e52009d2c03cc1c1a1ae28338c2702a1f53eccd10a1afa3
https://github.com/goreleaser/goreleaser/releases/download/v1.18.2/goreleaser_Darwin_arm64.tar.gz: 7eec9f4d0b86b2c9c9f6af1770a11315998bd4d4617633b0a73eeb036e97393e
https://github.com/goreleaser/goreleaser/releases/download/v1.18.2/goreleaser_Darwin_x86_64.tar.gz: 95338eed333347152e23837b68a8c6ce0c62b9f5abb68bd5b4b08178766400b9
https://github.com/goreleaser/goreleaser/releases/download/v1.18.2/goreleaser_Linux_x86_64.tar.gz: 811e0c63e347f78f3c8612a19ca8eeb564eb45f0265ce3f38aec39c8fdbcfa10
https://github.com/goreleaser/goreleaser/releases/download/v1.18.2/goreleaser_Windows_x86_64.zip: 4b67f9a0159dc4f6a19fdea46eda506d58efe9e9d01aebc6ee39c9e9c14f9715
https://github.com/koalaman/shellcheck/releases/download/v0.9.0/shellcheck-v0.9.0.darwin.x86_64.tar.xz: 7d3730694707605d6e60cec4efcb79a0632d61babc035aa16cda1b897536acf5
https://github.com/koalaman/shellcheck/releases/download/v0.9.0/shellcheck-v0.9.0.linux.x86_64.tar.xz: 700324c6dd0ebea0117591c6cc9d7350d9c7c5c287acbad7630fa17b1d4d9e2f
https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_darwin_amd64.tar.gz: 1bdafaf8f17bf1cb0e96887de786bc44070c5891f2eb3d415bc2159395d0da77
https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_darwin_arm64.tar.gz: d7e8945efcd062c5bcf6e2e42d7a19c71fb26a128640aba168ea6be8d0ba2767
https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_linux_amd64.tar.gz: 79ccca7829e22748ce7fc26efe36f408de23baa0fbb2f38250160afa966967ac
https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_windows_amd64.zip: ba92fffff102588a935ac32a8132305ba168d83a627177a71d3fd7fc16eaaef8
https://github.com/mvdan/gofumpt/releases/download/v0.4.0/gofumpt_v0.4.0_darwin_amd64: 3f550baa6d4c071b01e9c68b9308bd2ca3bae6b3b09d203f19ed8626ee0fe487
https://github.com/mvdan/gofumpt/releases/download/v0.4.0/gofumpt_v0.4.0_darwin_arm64: 768263452749a3a3cabf412f29f8a14e8bbdc7f6c6471427e977eebc6592ddb8
https://github.com/mvdan/gofumpt/releases/download/v0.4.0/gofumpt_v0.4.0_linux_amd64: d3ca535e6b0b230a9c4f05a3ec54e358336b5e7474d239c15514e63a0b2a8041
https://github.com/mvdan/gofumpt/releases/download/v0.4.0/gofumpt_v0.4.0_windows_amd64.exe: 1f4c74ac30ef41ea9859c445c84baff7b283b3c16b467fef1d728a93d90d3e92
https://github.com/mvdan/sh/releases/download/v3.6.0/shfmt_v3.6.0_darwin_amd64: b8c9c025b498e2816b62f0b717f6032e9ab49e725a45b8205f52f66318f17185
https://github.com/mvdan/sh/releases/download/v3.6.0/shfmt_v3.6.0_darwin_arm64: 633f242246ee0a866c5f5df25cbf61b6af0d5e143555aca32950059cf13d91e0
https://github.com/mvdan/sh/releases/download/v3.6.0/shfmt_v3.6.0_linux_amd64: 5741a02a641de7e56b8da170e71a97e58050d66a3cf485fb268d6a5a8bb74afb
https://github.com/mvdan/sh/releases/download/v3.6.0/shfmt_v3.6.0_windows_amd64.exe: 18122d910ba434be366588f37c302c309cde4ca5403f93285254a3cf96839d01