authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-01-07 16:49:13-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-01-07 16:49:13-07:00
logc7666ff885feb8407ada301a294d37e31274e977
tree10c33cbe63623904b57693fddd7b1d89e92d9013
parentd8eba037a4dc31e063cd0afd9696d2b7358fb6ff

ci: import the update-download-page from www repo


4 files changed, 1212 insertions(+), 15 deletions(-)

ci/srht/index.html created+731
...@@ -0,0 +1,731 @@
1<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>Releases ⚡ The Zig Programming Language</title>
6 <link rel="icon" href="/favicon.png">
7 <style>
8 body{
9 font-family: system-ui, -apple-system, Roboto, "Segoe UI", sans-serif;
10 line-height: 1.45;
11 margin-left: 0;
12 margin-right: 0;
13 }
14 p {
15 margin: 0.8em 0;
16 }
17
18 h1, h2, h3, h4 {
19 margin: 0.5em 0 0.5em;
20 line-height: 1.2;
21 font-weight: bold;
22 color: #666;
23 }
24
25 h1 a, h2 a, h3 a, h4 a {
26 text-decoration: none;
27 color: #666;
28 }
29
30 a.hdr {
31 visibility: hidden;
32 }
33 h1:hover > a.hdr, h2:hover > a.hdr, h3:hover > a.hdr, h4:hover > a.hdr, h5:hover > a.hdr {
34 visibility: visible;
35 }
36
37 h1 { font-size: 2.0em; }
38
39 h2 { font-size: 1.5em; }
40
41 h3 { font-size: 1.25em; }
42
43 h4 { font-size: 1.0em; }
44
45 a {
46 color: #2A6286;
47 }
48
49 a:not(:hover) {
50 text-decoration: none;
51 }
52
53 th, td {
54 padding: 0.6em;
55 text-align: left;
56 white-space: nowrap;
57 }
58
59 td {
60 font-size: 0.96em;
61 }
62
63 th {
64 border-bottom: 2px solid #f2f3f3;
65 }
66
67 tr:nth-child(even) {
68 background: #f2f3f3;
69 }
70
71 .container {
72 margin: 0 auto;
73 position: relative;
74 max-width: 1000px;
75 }
76
77 #navbar {
78 background-color: #737475;
79 padding: 5px 0;
80 border-top: 4px solid #f7a41d;
81 margin-bottom: 30px;
82 }
83
84 #navbar .navbar-item, #navbar .navbar-item:visited {
85 color: white;
86 padding-right: 5px;
87 padding-left: 5px;
88 }
89
90 .code {
91 font-family: monospace;
92 font-size: 0.8em;
93 }
94
95 #header-image {
96 background-image: url(https://ziglang.org/img/zig-logo-dark.svg);
97 background-repeat: no-repeat;
98 width: 340px;
99 height: 90px;
100 display: block;
101 padding: 0;
102 margin: 0;
103 }
104
105 @media (prefers-color-scheme: dark) {
106 body{
107 background-color:#111;
108 color: #bbb;
109 }
110 a {
111 color: #88f;
112 }
113 table, th, td {
114 border-color: grey;
115 }
116 tr:nth-child(even) {
117 background: #1e1e1e;
118 }
119 h1 a, h2 a, h3 a, h4 a, h5 a {
120 color: #aaa;
121 }
122 #header-image {
123 background-image: url(https://ziglang.org/img/zig-logo-light.svg);
124 }
125 }
126 </style>
127 </head>
128 <body>
129 <div class="container">
130 <a href="/"><span id="header-image"></span></a>
131 </div>
132 <nav id="navbar">
133 <div class="container">
134 <a href="/download/" class="navbar-item">Download &amp; Documentation</a>
135 <a href="https://github.com/ziglang/zig" class="navbar-item">Source Code</a>
136 <a href="/news/" class="navbar-item">News</a>
137 <a href="https://github.com/ziglang/zig/wiki/Community" class="navbar-item">Join a Community</a>
138 <a href="/zsf/" class="navbar-item">
139 <svg style="color: #ea4aaa; vertical-align: middle;fill: currentColor; margin-right: 5px" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M9 2c-.97 0-1.69.42-2.2 1-.51.58-.78.92-.8 1-.02-.08-.28-.42-.8-1-.52-.58-1.17-1-2.2-1-1.632.086-2.954 1.333-3 3 0 .52.09 1.52.67 2.67C1.25 8.82 3.01 10.61 6 13c2.98-2.39 4.77-4.17 5.34-5.33C11.91 6.51 12 5.5 12 5c-.047-1.69-1.342-2.913-3-3z"></path></svg>Sponsor the Zig Software Foundation</a>
140 </div>
141 </nav>
142 <div class="container">
143 <h1>Releases</h1>
144 <p>You can also
145 <a href="https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager">install Zig from a package manager</a>.
146 </p>
147 <p>
148 There is a <a href="index.json">JSON version of this page</a>.
149 </p>
150
151 <h2 id="release-master">master</h2>
152 <ul>
153 <li>{{MASTER_DATE}}</li>
154 <li><a href="/documentation/master/">Language Reference</a></li>
155 <li><a href="/documentation/master/std/">Standard Library Documentation</a> (experimental)</li>
156 </ul>
157 <table>
158 <colgroup>
159 <col width="40%">
160 <col width="10%">
161 <col width="10%">
162 </colgroup>
163 <thead>
164 <tr>
165 <th>Filename</th>
166 <th>Kind</th>
167 <th>Size</th>
168 <th>Sha256</th>
169 </tr>
170 </thead>
171 <tbody>
172 <tr>
173 <td><a href="https://ziglang.org/builds/{{SRC_TARBALL}}">{{SRC_TARBALL}}</a></td>
174 <td>Source</td>
175 <td>{{SRC_BYTESIZE}}</td>
176 <td class="code">{{SRC_SHASUM}}</td>
177 </tr>
178 <tr>
179 <td><a href="https://ziglang.org/builds/{{X86_64_LINUX_TARBALL}}">{{X86_64_LINUX_TARBALL}}</a></td>
180 <td>Binary</td>
181 <td>{{X86_64_LINUX_BYTESIZE}}</td>
182 <td class="code">{{X86_64_LINUX_SHASUM}}</td>
183 </tr>
184 <tr>
185 <td><a href="https://ziglang.org/builds/{{AARCH64_LINUX_TARBALL}}">{{AARCH64_LINUX_TARBALL}}</a></td>
186 <td>Binary</td>
187 <td>{{AARCH64_LINUX_BYTESIZE}}</td>
188 <td class="code">{{AARCH64_LINUX_SHASUM}}</td>
189 </tr>
190 <tr>
191 <td><a href="https://ziglang.org/builds/{{X86_64_WINDOWS_TARBALL}}">{{X86_64_WINDOWS_TARBALL}}</a></td>
192 <td>Binary</td>
193 <td>{{X86_64_WINDOWS_BYTESIZE}}</td>
194 <td class="code">{{X86_64_WINDOWS_SHASUM}}</td>
195 </tr>
196 <tr>
197 <td><a href="https://ziglang.org/builds/{{X86_64_MACOS_TARBALL}}">{{X86_64_MACOS_TARBALL}}</a></td>
198 <td>Binary</td>
199 <td>{{X86_64_MACOS_BYTESIZE}}</td>
200 <td class="code">{{X86_64_MACOS_SHASUM}}</td>
201 </tr>
202 <tr>
203 <td><a href="https://ziglang.org/builds/{{X86_64_FREEBSD_TARBALL}}">{{X86_64_FREEBSD_TARBALL}}</a></td>
204 <td>Binary</td>
205 <td>{{X86_64_FREEBSD_BYTESIZE}}</td>
206 <td class="code">{{X86_64_FREEBSD_SHASUM}}</td>
207 </tr>
208 </tbody>
209 </table>
210
211 <h2 id="release-0.7.1">0.7.1</h2>
212 <ul>
213 <li>2020-12-13</li>
214 <li><a href="0.7.1/release-notes.html">Release Notes</a></li>
215 <li><a href="/documentation/0.7.1/">Language Reference</a></li>
216 <li><a href="/documentation/0.7.1/std">Standard Library Documentation</a> (experimental)</li>
217 </ul>
218 <table>
219 <colgroup>
220 <col width="40%">
221 <col width="10%">
222 <col width="10%">
223 </colgroup>
224 <thead>
225 <tr>
226 <th>Filename</th>
227 <th>Kind</th>
228 <th>Size</th>
229 <th>Sha256</th>
230 </tr>
231 </thead>
232 <tbody>
233 <tr>
234 <td><a href="https://ziglang.org/download/0.7.1/zig-0.7.1.tar.xz">zig-0.7.1.tar.xz</a></td>
235 <td>Source</td>
236 <td>11MiB</td>
237 <td class="code">2db3b944ab368d955b48743d9f7c963b8f96de1a441ba5a35e197237cc6dae44</td>
238 </tr>
239 <tr>
240 <td><a href="https://ziglang.org/download/0.7.1/zig-bootstrap-0.7.1.tar.xz">zig-bootstrap-0.7.1.tar.xz</a></td>
241 <td>Source</td>
242 <td>39MiB</td>
243 <td class="code">040f27c1fae4b0cac0a2782aecdb691f6a2f8e89db6a6ed35024c31c304fd9b2</td>
244 </tr>
245 <tr>
246 <td><a href="https://ziglang.org/download/0.7.1/zig-freebsd-x86_64-0.7.1.tar.xz">zig-freebsd-x86_64-0.7.1.tar.xz</a></td>
247 <td>Binary</td>
248 <td>38MiB</td>
249 <td class="code">e73c1dca35791a3183fdd5ecde0443ebbe180942efceafe651886034fb8def09</td>
250 </tr>
251 <tr>
252 <td><a href="https://ziglang.org/download/0.7.1/zig-linux-aarch64-0.7.1.tar.xz">zig-linux-aarch64-0.7.1.tar.xz</a></td>
253 <td>Binary</td>
254 <td>33MiB</td>
255 <td class="code">48ec90eba407e4587ddef7eecef25fec7e13587eb98e3b83c5f2f5fff2a5cbe7</td>
256 </tr>
257 <tr>
258 <td><a href="https://ziglang.org/download/0.7.1/zig-linux-armv7a-0.7.1.tar.xz">zig-linux-armv7a-0.7.1.tar.xz</a></td>
259 <td>Binary</td>
260 <td>35MiB</td>
261 <td class="code">5a0662e07b4c4968665e1f97558f8591f6facec45d2e0ff5715e661743107ceb</td>
262 </tr>
263 <tr>
264 <td><a href="https://ziglang.org/download/0.7.1/zig-linux-i386-0.7.1.tar.xz">zig-linux-i386-0.7.1.tar.xz</a></td>
265 <td>Binary</td>
266 <td>38MiB</td>
267 <td class="code">4882e052e5f83690bd0334bb4fc1702b5403cb3a3d2aa63fd7d6043d8afecba3</td>
268 </tr>
269 <tr>
270 <td><a href="https://ziglang.org/download/0.7.1/zig-linux-riscv64-0.7.1.tar.xz">zig-linux-riscv64-0.7.1.tar.xz</a></td>
271 <td>Binary</td>
272 <td>36MiB</td>
273 <td class="code">187294bfd35983348c3fe042901b42e67e7e36ab7f77a5f969d21c0051f4d21f</td>
274 </tr>
275 <tr>
276 <td><a href="https://ziglang.org/download/0.7.1/zig-linux-x86_64-0.7.1.tar.xz">zig-linux-x86_64-0.7.1.tar.xz</a></td>
277 <td>Binary</td>
278 <td>37MiB</td>
279 <td class="code">18c7b9b200600f8bcde1cd8d7f1f578cbc3676241ce36d771937ce19a8159b8d</td>
280 </tr>
281 <tr>
282 <td><a href="https://ziglang.org/download/0.7.1/zig-macos-x86_64-0.7.1.tar.xz">zig-macos-x86_64-0.7.1.tar.xz</a></td>
283 <td>Binary</td>
284 <td>35MiB</td>
285 <td class="code">845cb17562978af0cf67e3993f4e33330525eaf01ead9386df9105111e3bc519</td>
286 </tr>
287 <tr>
288 <td><a href="https://ziglang.org/download/0.7.1/zig-windows-i386-0.7.1.zip">zig-windows-i386-0.7.1.zip</a></td>
289 <td>Binary</td>
290 <td>52MiB</td>
291 <td class="code">a1b9a7421e13153e07fd2e2c93ff29aad64d83105b8fcdafa633dbe689caf1c0</td>
292 </tr>
293 <tr>
294 <td><a href="https://ziglang.org/download/0.7.1/zig-windows-x86_64-0.7.1.zip">zig-windows-x86_64-0.7.1.zip</a></td>
295 <td>Binary</td>
296 <td>53MiB</td>
297 <td class="code">4818a8a65b4672bc52c0ae7f14d014e0eb8caf10f12c0745176820384cea296a</td>
298 </tr>
299 </tbody>
300 </table>
301
302 <h2 id="release-0.7.0">0.7.0</h2>
303 <ul>
304 <li>2020-11-08</li>
305 <li><a href="0.7.0/release-notes.html">Release Notes</a></li>
306 <li><a href="/documentation/0.7.0/">Language Reference</a></li>
307 <li><a href="/documentation/0.7.0/std">Standard Library Documentation</a> (experimental)</li>
308 </ul>
309 <table>
310 <colgroup>
311 <col width="40%">
312 <col width="10%">
313 <col width="10%">
314 </colgroup>
315 <thead>
316 <tr>
317 <th>Filename</th>
318 <th>Kind</th>
319 <th>Size</th>
320 <th>Sha256</th>
321 </tr>
322 </thead>
323 <tbody>
324 <tr>
325 <td><a href="https://ziglang.org/download/0.7.0/zig-0.7.0.tar.xz">zig-0.7.0.tar.xz</a></td>
326 <td>Source</td>
327 <td>11MiB</td>
328 <td class="code">0efd2cf6c3b05723db80e9cf193bc55150bba84ca41f855a90f53fc756445f83</td>
329 </tr>
330 <tr>
331 <td><a href="https://ziglang.org/download/0.7.0/zig-bootstrap-0.7.0.tar.xz">zig-bootstrap-0.7.0.tar.xz</a></td>
332 <td>Source</td>
333 <td>39MiB</td>
334 <td class="code">f073beaf5c53c8c57c0d374cbfcb332ef92ad703173edba0d9e0f2ed28401b72</td>
335 </tr>
336 <tr>
337 <td><a href="https://ziglang.org/download/0.7.0/zig-freebsd-x86_64-0.7.0.tar.xz">zig-freebsd-x86_64-0.7.0.tar.xz</a></td>
338 <td>Binary</td>
339 <td>34MiB</td>
340 <td class="code">a0c926272ee4ae720034b4a6a1dc98399d76156dd84182554740f0ca8a41fc99</td>
341 </tr>
342 <tr>
343 <td><a href="https://ziglang.org/download/0.7.0/zig-linux-aarch64-0.7.0.tar.xz">zig-linux-aarch64-0.7.0.tar.xz</a></td>
344 <td>Binary</td>
345 <td>32MiB</td>
346 <td class="code">f89933bac87d44be82325754ff88423020c81c7032a6fc41cfeb81e982eeab9b</td>
347 </tr>
348 <tr>
349 <td><a href="https://ziglang.org/download/0.7.0/zig-linux-armv7a-0.7.0.tar.xz">zig-linux-armv7a-0.7.0.tar.xz</a></td>
350 <td>Binary</td>
351 <td>34MiB</td>
352 <td class="code">011c267e25a96ee160505a560c441daa045359a9d50e13ab1bada9d75c95db2d</td>
353 </tr>
354 <tr>
355 <td><a href="https://ziglang.org/download/0.7.0/zig-linux-i386-0.7.0.tar.xz">zig-linux-i386-0.7.0.tar.xz</a></td>
356 <td>Binary</td>
357 <td>37MiB</td>
358 <td class="code">4bb2072cd363bcb1cbeb4872ff5cbc1f683b02d0cc1f90c46e3ea7422ce53222</td>
359 </tr>
360 <tr>
361 <td><a href="https://ziglang.org/download/0.7.0/zig-linux-riscv64-0.7.0.tar.xz">zig-linux-riscv64-0.7.0.tar.xz</a></td>
362 <td>Binary</td>
363 <td>36MiB</td>
364 <td class="code">40dff81faa6f232ac40abbf88b9371f3cc932b6e09c423b94387c9ea580cb7be</td>
365 </tr>
366 <tr>
367 <td><a href="https://ziglang.org/download/0.7.0/zig-linux-x86_64-0.7.0.tar.xz">zig-linux-x86_64-0.7.0.tar.xz</a></td>
368 <td>Binary</td>
369 <td>36MiB</td>
370 <td class="code">e619b1c6094c095b932767f527aee2507f847ea981513ff8a08aab0fd730e0ac</td>
371 </tr>
372 <tr>
373 <td><a href="https://ziglang.org/download/0.7.0/zig-macos-aarch64-0.7.0.tar.xz">zig-macos-aarch64-0.7.0.tar.xz</a></td>
374 <td>Binary</td>
375 <td>33MiB</td>
376 <td class="code">338238035734db74ea4f30e500a4893bf741d38305c10952d5e39fa05bdb057d</td>
377 </tr>
378 <tr>
379 <td><a href="https://ziglang.org/download/0.7.0/zig-macos-x86_64-0.7.0.tar.xz">zig-macos-x86_64-0.7.0.tar.xz</a></td>
380 <td>Binary</td>
381 <td>35MiB</td>
382 <td class="code">94063f9a311cbbf7a2e0a12295e09437182cf950f18cb0eb30ea9893f3677f24</td>
383 </tr>
384 <tr>
385 <td><a href="https://ziglang.org/download/0.7.0/zig-windows-i386-0.7.0.zip">zig-windows-i386-0.7.0.zip</a></td>
386 <td>Binary</td>
387 <td>51MiB</td>
388 <td class="code">b1e520aacbfbd645ff3521b3eb4d44166d9a0288b8725e4b001f8b50a425eb2e</td>
389 </tr>
390 <tr>
391 <td><a href="https://ziglang.org/download/0.7.0/zig-windows-x86_64-0.7.0.zip">zig-windows-x86_64-0.7.0.zip</a></td>
392 <td>Binary</td>
393 <td>52MiB</td>
394 <td class="code">965f56c0a36f9cda2125e3a348bc654f7f155e2804c3667d231775ec228f8553</td>
395 </tr>
396 </tbody>
397 </table>
398
399 <h2 id="release-0.6.0">0.6.0</h2>
400 <ul>
401 <li>2020-04-13</li>
402 <li><a href="0.6.0/release-notes.html">Release Notes</a></li>
403 <li><a href="/documentation/0.6.0">Language Reference</a></li>
404 <li><a href="/documentation/0.6.0/std">Standard Library Documentation</a> (experimental)</li>
405 </ul>
406 <table>
407 <colgroup>
408 <col width="40%">
409 <col width="10%">
410 <col width="10%">
411 </colgroup>
412 <thead>
413 <tr>
414 <th>Filename</th>
415 <th>Kind</th>
416 <th>Size</th>
417 <th>Sha256</th>
418 </tr>
419 </thead>
420 <tbody>
421 <tr>
422 <td><a href="https://ziglang.org/download/0.6.0/zig-0.6.0.tar.xz">zig-0.6.0.tar.xz</a></td>
423 <td>Source</td>
424 <td>9.9MiB</td>
425 <td class="code">5d167dc19354282dd35dd17b38e99e1763713b9be8a4ba9e9e69284e059e7204</td>
426 </tr>
427 <tr>
428 <td><a href="https://ziglang.org/download/0.6.0/zig-bootstrap-0.6.0.tar.xz">zig-bootstrap-0.6.0.tar.xz</a></td>
429 <td>Source</td>
430 <td>36.7MiB</td>
431 <td class="code">5e0e4dc878b3dd0c1852a442b174f0732e8c07869a8fcd226b71a93b89b381ab</td>
432 </tr>
433 <tr>
434 <td><a href="https://ziglang.org/download/0.6.0/zig-freebsd-x86_64-0.6.0.tar.xz">zig-freebsd-x86_64-0.6.0.tar.xz</a></td>
435 <td>Binary</td>
436 <td>36MiB</td>
437 <td class="code">190ff79c1eb56805a315d7c7a51082e32f62926250c0702b36760c225e1634a3</td>
438 </tr>
439 <tr>
440 <td><a href="https://ziglang.org/download/0.6.0/zig-linux-aarch64-0.6.0.tar.xz">zig-linux-aarch64-0.6.0.tar.xz</a></td>
441 <td>Binary</td>
442 <td>36MiB</td>
443 <td class="code">e7520efd42cfa02be48c2e430d08fe1f3cbb999d21d9f0d3ffd0febb976b2f41</td>
444 </tr>
445 <tr>
446 <td><a href="https://ziglang.org/download/0.6.0/zig-linux-armv6kz-0.6.0.tar.xz">zig-linux-armv6kz-0.6.0.tar.xz</a></td>
447 <td>Binary</td>
448 <td>38MiB</td>
449 <td class="code">36b6493b3fed43eb1f0000e765798ad31a6bb7d7fd3f553ac1c3761dbc919b82</td>
450 </tr>
451 <tr>
452 <td><a href="https://ziglang.org/download/0.6.0/zig-linux-armv7a-0.6.0.tar.xz">zig-linux-armv7a-0.6.0.tar.xz</a></td>
453 <td>Binary</td>
454 <td>38MiB</td>
455 <td class="code">946969abe357def95ca9cbbfcebfcf2d90cf967bcd3f48ee87662e32d91d8f35</td>
456 </tr>
457 <tr>
458 <td><a href="https://ziglang.org/download/0.6.0/zig-linux-i386-0.6.0.tar.xz">zig-linux-i386-0.6.0.tar.xz</a></td>
459 <td>Binary</td>
460 <td>43MiB</td>
461 <td class="code">a97a2f9ae21575743cdd763c1917d49400d83fc562ef64582b18bade43eb24ce</td>
462 </tr>
463 <tr>
464 <td><a href="https://ziglang.org/download/0.6.0/zig-linux-riscv64-0.6.0.tar.xz">zig-linux-riscv64-0.6.0.tar.xz</a></td>
465 <td>Binary</td>
466 <td>41MiB</td>
467 <td class="code">68ddee43f7503c8ae5f26a921f3602c34719a02ed2241f528c0b8b888cc14b38</td>
468 </tr>
469 <tr>
470 <td><a href="https://ziglang.org/download/0.6.0/zig-linux-x86_64-0.6.0.tar.xz">zig-linux-x86_64-0.6.0.tar.xz</a></td>
471 <td>Binary</td>
472 <td>43MiB</td>
473 <td class="code">08fd3c757963630645441c2772362e9c2294020c44f14fce1b89f45de0dc1253</td>
474 </tr>
475 <tr>
476 <td><a href="https://ziglang.org/download/0.6.0/zig-macos-x86_64-0.6.0.tar.xz">zig-macos-x86_64-0.6.0.tar.xz</a></td>
477 <td>Binary</td>
478 <td>41MiB</td>
479 <td class="code">17270360e87ddc49f737e760047b2fac49f1570a824a306119b1194ac4093895</td>
480 </tr>
481 <tr>
482 <td><a href="https://ziglang.org/download/0.6.0/zig-windows-i386-0.6.0.zip">zig-windows-i386-0.6.0.zip</a></td>
483 <td>Binary</td>
484 <td>58MiB</td>
485 <td class="code">3b0a02618743e92175990dc6d1a787bb95ff62c4cda016f1c14c7786f575f8ca</td>
486 </tr>
487 <tr>
488 <td><a href="https://ziglang.org/download/0.6.0/zig-windows-x86_64-0.6.0.zip">zig-windows-x86_64-0.6.0.zip</a></td>
489 <td>Binary</td>
490 <td>47MiB</td>
491 <td class="code">c3b897832523e1026e10b2d8d55d7f895185c0a27a63681f3a23219c3f1c38f4</td>
492 </tr>
493 </tbody>
494 </table>
495
496 <h2 id="release-0.5.0">0.5.0</h2>
497 <ul>
498 <li>2019-09-30</li>
499 <li><a href="0.5.0/release-notes.html">Release Notes</a></li>
500 <li><a href="/documentation/0.5.0">Documentation</a></li>
501 </ul>
502 <table>
503 <colgroup>
504 <col width="40%">
505 <col width="10%">
506 <col width="10%">
507 </colgroup>
508 <thead>
509 <tr>
510 <th>Filename</th>
511 <th>Kind</th>
512 <th>Size</th>
513 <th>Sha256</th>
514 </tr>
515 </thead>
516 <tbody>
517 <tr>
518 <td><a href="https://ziglang.org/download/0.5.0/zig-0.5.0.tar.xz">zig-0.5.0.tar.xz</a></td>
519 <td>Source</td>
520 <td>10.4MiB</td>
521 <td class="code">55ae16960f152bcb9cf98b4f8570902d0e559a141abf927f0d3555b7cc838a31</td>
522 </tr>
523 <tr>
524 <td><a href="https://ziglang.org/download/0.5.0/zig-linux-x86_64-0.5.0.tar.xz">zig-linux-x86_64-0.5.0.tar.xz</a></td>
525 <td>Binary</td>
526 <td>39.0MiB</td>
527 <td class="code">43e8f8a8b8556edd373ddf9c1ef3ca6cf852d4d09fe07d5736d12fefedd2b4f7</td>
528 </tr>
529 <tr>
530 <td><a href="https://ziglang.org/download/0.5.0/zig-windows-x86_64-0.5.0.zip">zig-windows-x86_64-0.5.0.zip</a></td>
531 <td>Binary</td>
532 <td>42.8MiB</td>
533 <td class="code">58141323db8d84a5af62746be5f9140bc161ee760ef33dc91a887bf9ac021976</td>
534 </tr>
535 <tr>
536 <td><a href="https://ziglang.org/download/0.5.0/zig-macos-x86_64-0.5.0.tar.xz">zig-macos-x86_64-0.5.0.tar.xz</a></td>
537 <td>Binary</td>
538 <td>36.1MiB</td>
539 <td class="code">28702cc05745c7c0bd450487d5f4091bf0a1ad279b35eb9a640ce3e3a15b300d</td>
540 </tr>
541 <tr>
542 <td><a href="https://ziglang.org/download/0.5.0/zig-freebsd-x86_64-0.5.0.tar.xz">zig-freebsd-x86_64-0.5.0.tar.xz</a></td>
543 <td>Binary</td>
544 <td>32.1MiB</td>
545 <td class="code">9e1f4d36c3d584c0aa01f20eb4cd0a0eef3eee5af23e483b8414de55feab6ab6</td>
546 </tr>
547 </tbody>
548 </table>
549
550 <h2 id="release-0.4.0">0.4.0</h2>
551 <ul>
552 <li>2019-04-08</li>
553 <li><a href="0.4.0/release-notes.html">Release Notes</a></li>
554 <li><a href="/documentation/0.4.0">Documentation</a></li>
555 </ul>
556 <table>
557 <colgroup>
558 <col width="40%">
559 <col width="10%">
560 <col width="10%">
561 </colgroup>
562 <thead>
563 <tr>
564 <th>Filename</th>
565 <th>Kind</th>
566 <th>Size</th>
567 <th>Sha256</th>
568 </tr>
569 </thead>
570 <tbody>
571 <tr>
572 <td><a href="https://ziglang.org/download/0.4.0/zig-0.4.0.tar.xz">zig-0.4.0.tar.xz</a></td>
573 <td>Source</td>
574 <td>5.1MiB</td>
575 <td class="code">fec1f3f6b359a3d942e0a7f9157b3b30cde83927627a0e1ea95c54de3c526cfc</td>
576 </tr>
577 <tr>
578 <td><a href="https://ziglang.org/download/0.4.0/zig-linux-x86_64-0.4.0.tar.xz">zig-linux-x86_64-0.4.0.tar.xz</a></td>
579 <td>Binary</td>
580 <td>31.4MiB</td>
581 <td class="code">fb1954e2fb556a01f8079a08130e88f70084e08978ff853bb2b1986d8c39d84e</td>
582 </tr>
583 <tr>
584 <td><a href="https://ziglang.org/download/0.4.0/zig-windows-x86_64-0.4.0.zip">zig-windows-x86_64-0.4.0.zip</a></td>
585 <td>Binary</td>
586 <td>34.1MiB</td>
587 <td class="code">fbc3dd205e064c263063f69f600bedb18e3d0aa2efa747a63ef6cafb6d73f127</td>
588 </tr>
589 <tr>
590 <td><a href="https://ziglang.org/download/0.4.0/zig-macos-x86_64-0.4.0.tar.xz">zig-macos-x86_64-0.4.0.tar.xz</a></td>
591 <td>Binary</td>
592 <td>29.4MiB</td>
593 <td class="code">67c932982484d017c5111e54af9f33f15e8e05c6bc5346a55e04052159c964a8</td>
594 </tr>
595 <tr>
596 <td><a href="https://ziglang.org/download/0.4.0/zig-freebsd-x86_64-0.4.0.tar.xz">zig-freebsd-x86_64-0.4.0.tar.xz</a></td>
597 <td>Binary</td>
598 <td>26.0MiB</td>
599 <td class="code">3d557c91ac36d8262eb1733bb5f261c95944f9b635e43386e3d00a3272818c30</td>
600 </tr>
601 </tbody>
602 </table>
603
604 <h2 id="release-0.3.0">0.3.0</h2>
605 <ul>
606 <li>2018-09-28</li>
607 <li><a href="0.3.0/release-notes.html">Release Notes</a></li>
608 <li><a href="/documentation/0.3.0">Documentation</a></li>
609 </ul>
610 <table>
611 <colgroup>
612 <col width="40%">
613 <col width="10%">
614 <col width="10%">
615 </colgroup>
616 <thead>
617 <tr>
618 <th>Filename</th>
619 <th>Kind</th>
620 <th>Size</th>
621 <th>Sha256</th>
622 </tr>
623 </thead>
624 <tbody>
625 <tr>
626 <td><a href="https://ziglang.org/download/0.3.0/zig-0.3.0.tar.xz">zig-0.3.0.tar.xz</a></td>
627 <td>Source</td>
628 <td>2.2MiB</td>
629 <td class="code">d70af604f3a8622f3393d93abb3e056bf60351e32d121e6fa4fe03d8d41e1f5a</td>
630 </tr>
631 <tr>
632 <td><a href="https://ziglang.org/download/0.3.0/zig-linux-x86_64-0.3.0.tar.xz">zig-linux-x86_64-0.3.0.tar.xz</a></td>
633 <td>Binary</td>
634 <td>24.0MiB</td>
635 <td class="code">b378d0aae30cb54f28494e7bc4efbc9bfb6326f47bfb302e8b5287af777b2f3c</td>
636 </tr>
637 <tr>
638 <td><a href="https://ziglang.org/download/0.3.0/zig-windows-x86_64-0.3.0.zip">zig-windows-x86_64-0.3.0.zip</a></td>
639 <td>Binary</td>
640 <td>21.5MiB</td>
641 <td class="code">bb568c03950958f8bb3472139c3ab5ed74547c8c694ab50f404c202faf51baf4</td>
642 </tr>
643 <tr>
644 <td><a href="https://ziglang.org/download/0.3.0/zig-macos-x86_64-0.3.0.tar.xz">zig-macos-x86_64-0.3.0.tar.xz</a></td>
645 <td>Binary</td>
646 <td>22.6MiB</td>
647 <td class="code">19dec1f1943ab7be26823376d466f7e456143deb34e17502778a949034dc2e7e</td>
648 </tr>
649 </tbody>
650 </table>
651
652 <h2 id="release-0.2.0">0.2.0</h2>
653 <ul>
654 <li>2018-03-15</li>
655 <li><a href="0.2.0/release-notes.html">Release Notes</a></li>
656 <li><a href="/documentation/0.2.0">Documentation</a></li>
657 </ul>
658 <table>
659 <colgroup>
660 <col width="40%">
661 <col width="10%">
662 <col width="10%">
663 </colgroup>
664 <thead>
665 <tr>
666 <th>Filename</th>
667 <th>Kind</th>
668 <th>Size</th>
669 <th>Sha256</th>
670 </tr>
671 </thead>
672 <tbody>
673 <tr>
674 <td><a href="https://ziglang.org/download/0.2.0/zig-0.2.0.tar.xz">zig-0.2.0.tar.xz</a></td>
675 <td>Source</td>
676 <td>1.9MiB</td>
677 <td class="code">29c9beb172737f4d5019b88ceae829ae8bc6512fb4386cfbf895ae2b42aa6965</td>
678 </tr>
679 <tr>
680 <td><a href="https://ziglang.org/download/0.2.0/zig-linux-x86_64-0.2.0.tar.xz">zig-linux-x86_64-0.2.0.tar.xz</a></td>
681 <td>Binary</td>
682 <td>23.5MiB</td>
683 <td class="code">209c6fb745d42474c0a73d6f291c7ae3a38b6a1b6b641eea285a7f840cc1a890</td>
684 </tr>
685 <tr>
686 <td><a href="https://ziglang.org/download/0.2.0/zig-win64-0.2.0.zip">zig-win64-0.2.0.zip</a></td>
687 <td>Binary</td>
688 <td>20.6MiB</td>
689 <td class="code">4f8a2979941a1f081ec8e545cca0b72608c0db1c5a3fd377a94db40649dcd3d4</td>
690 </tr>
691 </tbody>
692 </table>
693
694 <h2 id="release-0.1.1">0.1.1</h2>
695 <ul>
696 <li>2017-10-17</li>
697 <li><a href="0.1.1/release-notes.html">Release Notes</a></li>
698 <li><a href="/documentation/0.1.1">Documentation</a></li>
699 </ul>
700 <table>
701 <colgroup>
702 <col width="40%">
703 <col width="10%">
704 <col width="10%">
705 </colgroup>
706 <thead>
707 <tr>
708 <th>Filename</th>
709 <th>Kind</th>
710 <th>Size</th>
711 <th>Sha256</th>
712 </tr>
713 </thead>
714 <tbody>
715 <tr>
716 <td><a href="https://ziglang.org/download/0.1.1/zig-0.1.1.tar.xz">zig-0.1.1.tar.xz</a></td>
717 <td>Source</td>
718 <td>1.62MiB</td>
719 <td class="code">ffca0cfb263485287e19cc997b08701fcd5f24b700345bcdc3dd8074f5a104e0</td>
720 </tr>
721 <tr>
722 <td><a href="https://ziglang.org/download/0.1.1/zig-win64-0.1.1.zip">zig-win64-0.1.1.zip</a></td>
723 <td>Binary</td>
724 <td>19.3MiB</td>
725 <td class="code">6fc88bef531af7e567fe30bf60da1487b86833cbee84c7a2f3e317030aa5b660</td>
726 </tr>
727 </tbody>
728 </table>
729 </div>
730 </body>
731</html>
ci/srht/index.json created+350
...@@ -0,0 +1,350 @@
1{
2 "master": {
3 "version": "{{MASTER_VERSION}}",
4 "date": "{{MASTER_DATE}}",
5 "docs": "https://ziglang.org/documentation/master/",
6 "src": {
7 "tarball": "https://ziglang.org/builds/{{SRC_TARBALL}}",
8 "shasum": "{{SRC_SHASUM}}",
9 "size": "{{SRC_BYTESIZE}}"
10 },
11 "x86_64-freebsd": {
12 "tarball": "https://ziglang.org/builds/{{X86_64_FREEBSD_TARBALL}}",
13 "shasum": "{{X86_64_FREEBSD_SHASUM}}",
14 "size": "{{X86_64_FREEBSD_BYTESIZE}}"
15 },
16 "x86_64-macos": {
17 "tarball": "https://ziglang.org/builds/{{X86_64_MACOS_TARBALL}}",
18 "shasum": "{{X86_64_MACOS_SHASUM}}",
19 "size": "{{X86_64_MACOS_BYTESIZE}}"
20 },
21 "x86_64-windows": {
22 "tarball": "https://ziglang.org/builds/{{X86_64_WINDOWS_TARBALL}}",
23 "shasum": "{{X86_64_WINDOWS_SHASUM}}",
24 "size": "{{X86_64_WINDOWS_BYTESIZE}}"
25 },
26 "x86_64-linux": {
27 "tarball": "https://ziglang.org/builds/{{X86_64_LINUX_TARBALL}}",
28 "shasum": "{{X86_64_LINUX_SHASUM}}",
29 "size": "{{X86_64_LINUX_BYTESIZE}}"
30 },
31 "aarch64-linux": {
32 "tarball": "https://ziglang.org/builds/{{AARCH64_LINUX_TARBALL}}",
33 "shasum": "{{AARCH64_LINUX_SHASUM}}",
34 "size": "{{AARCH64_LINUX_BYTESIZE}}"
35 }
36 },
37 "0.7.1": {
38 "date": "2020-12-13",
39 "docs": "https://ziglang.org/documentation/0.7.1/",
40 "stdDocs": "https://ziglang.org/documentation/0.7.1/std/",
41 "notes": "https://ziglang.org/download/0.7.1/release-notes.html",
42 "src": {
43 "tarball": "https://ziglang.org/download/0.7.1/zig-0.7.1.tar.xz",
44 "shasum": "2db3b944ab368d955b48743d9f7c963b8f96de1a441ba5a35e197237cc6dae44",
45 "size": "10711824"
46 },
47 "bootstrap": {
48 "tarball": "https://ziglang.org/download/0.7.1/zig-bootstrap-0.7.1.tar.xz",
49 "shasum": "040f27c1fae4b0cac0a2782aecdb691f6a2f8e89db6a6ed35024c31c304fd9b2",
50 "size": "40232612"
51 },
52 "x86_64-freebsd": {
53 "tarball": "https://ziglang.org/download/0.7.1/zig-freebsd-x86_64-0.7.1.tar.xz",
54 "shasum": "e73c1dca35791a3183fdd5ecde0443ebbe180942efceafe651886034fb8def09",
55 "size": "39066808"
56 },
57 "aarch64-linux": {
58 "tarball": "https://ziglang.org/download/0.7.1/zig-linux-aarch64-0.7.1.tar.xz",
59 "shasum": "48ec90eba407e4587ddef7eecef25fec7e13587eb98e3b83c5f2f5fff2a5cbe7",
60 "size": "33780552"
61 },
62 "armv7a-linux": {
63 "tarball": "https://ziglang.org/download/0.7.1/zig-linux-armv7a-0.7.1.tar.xz",
64 "shasum": "5a0662e07b4c4968665e1f97558f8591f6facec45d2e0ff5715e661743107ceb",
65 "size": "35813504"
66 },
67 "i386-linux": {
68 "tarball": "https://ziglang.org/download/0.7.1/zig-linux-i386-0.7.1.tar.xz",
69 "shasum": "4882e052e5f83690bd0334bb4fc1702b5403cb3a3d2aa63fd7d6043d8afecba3",
70 "size": "39230912"
71 },
72 "riscv64-linux": {
73 "tarball": "https://ziglang.org/download/0.7.1/zig-linux-riscv64-0.7.1.tar.xz",
74 "shasum": "187294bfd35983348c3fe042901b42e67e7e36ab7f77a5f969d21c0051f4d21f",
75 "size": "37454812"
76 },
77 "x86_64-linux": {
78 "tarball": "https://ziglang.org/download/0.7.1/zig-linux-x86_64-0.7.1.tar.xz",
79 "shasum": "18c7b9b200600f8bcde1cd8d7f1f578cbc3676241ce36d771937ce19a8159b8d",
80 "size": "37848176"
81 },
82 "x86_64-macos": {
83 "tarball": "https://ziglang.org/download/0.7.1/zig-macos-x86_64-0.7.1.tar.xz",
84 "shasum": "845cb17562978af0cf67e3993f4e33330525eaf01ead9386df9105111e3bc519",
85 "size": "36211076"
86 },
87 "i386-windows": {
88 "tarball": "https://ziglang.org/download/0.7.1/zig-windows-i386-0.7.1.zip",
89 "shasum": "a1b9a7421e13153e07fd2e2c93ff29aad64d83105b8fcdafa633dbe689caf1c0",
90 "size": "54374983"
91 },
92 "x86_64-windows": {
93 "tarball": "https://ziglang.org/download/0.7.1/zig-windows-x86_64-0.7.1.zip",
94 "shasum": "4818a8a65b4672bc52c0ae7f14d014e0eb8caf10f12c0745176820384cea296a",
95 "size": "54909997"
96 }
97 },
98 "0.7.0": {
99 "date": "2020-11-08",
100 "docs": "https://ziglang.org/documentation/0.7.0/",
101 "stdDocs": "https://ziglang.org/documentation/0.7.0/std/",
102 "notes": "https://ziglang.org/download/0.7.0/release-notes.html",
103 "src": {
104 "tarball": "https://ziglang.org/download/0.7.0/zig-0.7.0.tar.xz",
105 "shasum": "0efd2cf6c3b05723db80e9cf193bc55150bba84ca41f855a90f53fc756445f83",
106 "size": "10683920"
107 },
108 "bootstrap": {
109 "tarball": "https://ziglang.org/download/0.7.0/zig-bootstrap-0.7.0.tar.xz",
110 "shasum": "f073beaf5c53c8c57c0d374cbfcb332ef92ad703173edba0d9e0f2ed28401b72",
111 "size": "40200436"
112 },
113 "x86_64-freebsd": {
114 "tarball": "https://ziglang.org/download/0.7.0/zig-freebsd-x86_64-0.7.0.tar.xz",
115 "shasum": "a0c926272ee4ae720034b4a6a1dc98399d76156dd84182554740f0ca8a41fc99",
116 "size": "34798992"
117 },
118 "aarch64-linux": {
119 "tarball": "https://ziglang.org/download/0.7.0/zig-linux-aarch64-0.7.0.tar.xz",
120 "shasum": "f89933bac87d44be82325754ff88423020c81c7032a6fc41cfeb81e982eeab9b",
121 "size": "33096140"
122 },
123 "armv7a-linux": {
124 "tarball": "https://ziglang.org/download/0.7.0/zig-linux-armv7a-0.7.0.tar.xz",
125 "shasum": "011c267e25a96ee160505a560c441daa045359a9d50e13ab1bada9d75c95db2d",
126 "size": "35157584"
127 },
128 "i386-linux": {
129 "tarball": "https://ziglang.org/download/0.7.0/zig-linux-i386-0.7.0.tar.xz",
130 "shasum": "4bb2072cd363bcb1cbeb4872ff5cbc1f683b02d0cc1f90c46e3ea7422ce53222",
131 "size": "38530596"
132 },
133 "riscv64-linux": {
134 "tarball": "https://ziglang.org/download/0.7.0/zig-linux-riscv64-0.7.0.tar.xz",
135 "shasum": "40dff81faa6f232ac40abbf88b9371f3cc932b6e09c423b94387c9ea580cb7be",
136 "size": "36759992"
137 },
138 "x86_64-linux": {
139 "tarball": "https://ziglang.org/download/0.7.0/zig-linux-x86_64-0.7.0.tar.xz",
140 "shasum": "e619b1c6094c095b932767f527aee2507f847ea981513ff8a08aab0fd730e0ac",
141 "size": "37154432"
142 },
143 "aarch64-macos": {
144 "tarball": "https://ziglang.org/download/0.7.0/zig-macos-aarch64-0.7.0.tar.xz",
145 "shasum": "338238035734db74ea4f30e500a4893bf741d38305c10952d5e39fa05bdb057d",
146 "size": "33739424"
147 },
148 "x86_64-macos": {
149 "tarball": "https://ziglang.org/download/0.7.0/zig-macos-x86_64-0.7.0.tar.xz",
150 "shasum": "94063f9a311cbbf7a2e0a12295e09437182cf950f18cb0eb30ea9893f3677f24",
151 "size": "35258328"
152 },
153 "i386-windows": {
154 "tarball": "https://ziglang.org/download/0.7.0/zig-windows-i386-0.7.0.zip",
155 "shasum": "b1e520aacbfbd645ff3521b3eb4d44166d9a0288b8725e4b001f8b50a425eb2e",
156 "size": "53390517"
157 },
158 "x86_64-windows": {
159 "tarball": "https://ziglang.org/download/0.7.0/zig-windows-x86_64-0.7.0.zip",
160 "shasum": "965f56c0a36f9cda2125e3a348bc654f7f155e2804c3667d231775ec228f8553",
161 "size": "53943784"
162 }
163 },
164 "0.6.0": {
165 "date": "2020-04-13",
166 "docs": "https://ziglang.org/documentation/0.6.0/",
167 "stdDocs": "https://ziglang.org/documentation/0.6.0/std/",
168 "notes": "https://ziglang.org/download/0.6.0/release-notes.html",
169 "src": {
170 "tarball": "https://ziglang.org/download/0.6.0/zig-0.6.0.tar.xz",
171 "shasum": "5d167dc19354282dd35dd17b38e99e1763713b9be8a4ba9e9e69284e059e7204",
172 "size": "10349552"
173 },
174 "bootstrap": {
175 "tarball": "https://ziglang.org/download/0.6.0/zig-bootstrap-0.6.0.tar.xz",
176 "shasum": "5e0e4dc878b3dd0c1852a442b174f0732e8c07869a8fcd226b71a93b89b381ab",
177 "size": "38469948"
178 },
179 "x86_64-freebsd": {
180 "tarball": "https://ziglang.org/download/0.6.0/zig-freebsd-x86_64-0.6.0.tar.xz",
181 "shasum": "190ff79c1eb56805a315d7c7a51082e32f62926250c0702b36760c225e1634a3",
182 "size": "36974604"
183 },
184 "aarch64-linux": {
185 "tarball": "https://ziglang.org/download/0.6.0/zig-linux-aarch64-0.6.0.tar.xz",
186 "shasum": "e7520efd42cfa02be48c2e430d08fe1f3cbb999d21d9f0d3ffd0febb976b2f41",
187 "size": "37090044"
188 },
189 "armv6kz-linux": {
190 "tarball": "https://ziglang.org/download/0.6.0/zig-linux-armv6kz-0.6.0.tar.xz",
191 "shasum": "36b6493b3fed43eb1f0000e765798ad31a6bb7d7fd3f553ac1c3761dbc919b82",
192 "size": "39133452"
193 },
194 "armv7a-linux": {
195 "tarball": "https://ziglang.org/download/0.6.0/zig-linux-armv7a-0.6.0.tar.xz",
196 "shasum": "946969abe357def95ca9cbbfcebfcf2d90cf967bcd3f48ee87662e32d91d8f35",
197 "size": "39143748"
198 },
199 "i386-linux": {
200 "tarball": "https://ziglang.org/download/0.6.0/zig-linux-i386-0.6.0.tar.xz",
201 "shasum": "a97a2f9ae21575743cdd763c1917d49400d83fc562ef64582b18bade43eb24ce",
202 "size": "44877640"
203 },
204 "riscv64-linux": {
205 "tarball": "https://ziglang.org/download/0.6.0/zig-linux-riscv64-0.6.0.tar.xz",
206 "shasum": "68ddee43f7503c8ae5f26a921f3602c34719a02ed2241f528c0b8b888cc14b38",
207 "size": "41993144"
208 },
209 "x86_64-linux": {
210 "tarball": "https://ziglang.org/download/0.6.0/zig-linux-x86_64-0.6.0.tar.xz",
211 "shasum": "08fd3c757963630645441c2772362e9c2294020c44f14fce1b89f45de0dc1253",
212 "size": "44766320"
213 },
214 "x86_64-macos": {
215 "tarball": "https://ziglang.org/download/0.6.0/zig-macos-x86_64-0.6.0.tar.xz",
216 "shasum": "17270360e87ddc49f737e760047b2fac49f1570a824a306119b1194ac4093895",
217 "size": "42573184"
218 },
219 "i386-windows": {
220 "tarball": "https://ziglang.org/download/0.6.0/zig-windows-i386-0.6.0.zip",
221 "shasum": "3b0a02618743e92175990dc6d1a787bb95ff62c4cda016f1c14c7786f575f8ca",
222 "size": "60446431"
223 },
224 "x86_64-windows": {
225 "tarball": "https://ziglang.org/download/0.6.0/zig-windows-x86_64-0.6.0.zip",
226 "shasum": "c3b897832523e1026e10b2d8d55d7f895185c0a27a63681f3a23219c3f1c38f4",
227 "size": "49065511"
228 }
229 },
230 "0.5.0": {
231 "date": "2019-09-30",
232 "docs": "https://ziglang.org/documentation/0.5.0/",
233 "notes": "https://ziglang.org/download/0.5.0/release-notes.html",
234 "src": {
235 "tarball": "https://ziglang.org/download/0.5.0/zig-0.5.0.tar.xz",
236 "shasum": "55ae16960f152bcb9cf98b4f8570902d0e559a141abf927f0d3555b7cc838a31",
237 "size": "10956132"
238 },
239 "x86_64-freebsd": {
240 "tarball": "https://ziglang.org/download/0.5.0/zig-freebsd-x86_64-0.5.0.tar.xz",
241 "shasum": "9e1f4d36c3d584c0aa01f20eb4cd0a0eef3eee5af23e483b8414de55feab6ab6",
242 "size": "33650744"
243 },
244 "x86_64-macos": {
245 "tarball": "https://ziglang.org/download/0.5.0/zig-macos-x86_64-0.5.0.tar.xz",
246 "shasum": "28702cc05745c7c0bd450487d5f4091bf0a1ad279b35eb9a640ce3e3a15b300d",
247 "size": "37898664"
248 },
249 "x86_64-windows": {
250 "tarball": "https://ziglang.org/download/0.5.0/zig-windows-x86_64-0.5.0.zip",
251 "shasum": "58141323db8d84a5af62746be5f9140bc161ee760ef33dc91a887bf9ac021976",
252 "size": "44871804"
253 },
254 "x86_64-linux": {
255 "tarball": "https://ziglang.org/download/0.5.0/zig-linux-x86_64-0.5.0.tar.xz",
256 "shasum": "43e8f8a8b8556edd373ddf9c1ef3ca6cf852d4d09fe07d5736d12fefedd2b4f7",
257 "size": "40895068"
258 }
259 },
260 "0.4.0": {
261 "date": "2019-04-08",
262 "docs": "https://ziglang.org/documentation/0.4.0/",
263 "notes": "https://ziglang.org/download/0.4.0/release-notes.html",
264 "src": {
265 "tarball": "https://ziglang.org/download/0.4.0/zig-0.4.0.tar.xz",
266 "shasum": "fec1f3f6b359a3d942e0a7f9157b3b30cde83927627a0e1ea95c54de3c526cfc",
267 "size": "5348776"
268 },
269 "x86_64-freebsd": {
270 "tarball": "https://ziglang.org/download/0.4.0/zig-freebsd-x86_64-0.4.0.tar.xz",
271 "shasum": "3d557c91ac36d8262eb1733bb5f261c95944f9b635e43386e3d00a3272818c30",
272 "size": "27269672"
273 },
274 "x86_64-macos": {
275 "tarball": "https://ziglang.org/download/0.4.0/zig-macos-x86_64-0.4.0.tar.xz",
276 "shasum": "67c932982484d017c5111e54af9f33f15e8e05c6bc5346a55e04052159c964a8",
277 "size": "30841504"
278 },
279 "x86_64-windows": {
280 "tarball": "https://ziglang.org/download/0.4.0/zig-windows-x86_64-0.4.0.zip",
281 "shasum": "fbc3dd205e064c263063f69f600bedb18e3d0aa2efa747a63ef6cafb6d73f127",
282 "size": "35800101"
283 },
284 "x86_64-linux": {
285 "tarball": "https://ziglang.org/download/0.4.0/zig-linux-x86_64-0.4.0.tar.xz",
286 "shasum": "fb1954e2fb556a01f8079a08130e88f70084e08978ff853bb2b1986d8c39d84e",
287 "size": "32876100"
288 }
289 },
290 "0.3.0": {
291 "date": "2018-09-28",
292 "docs": "https://ziglang.org/documentation/0.3.0/",
293 "notes": "https://ziglang.org/download/0.3.0/release-notes.html",
294 "src": {
295 "tarball": "https://ziglang.org/download/0.3.0/zig-0.3.0.tar.xz",
296 "shasum": "d70af604f3a8622f3393d93abb3e056bf60351e32d121e6fa4fe03d8d41e1f5a",
297 "size": "2335592"
298 },
299 "x86_64-macos": {
300 "tarball": "https://ziglang.org/download/0.3.0/zig-macos-x86_64-0.3.0.tar.xz",
301 "shasum": "19dec1f1943ab7be26823376d466f7e456143deb34e17502778a949034dc2e7e",
302 "size": "23712696"
303 },
304 "x86_64-windows": {
305 "tarball": "https://ziglang.org/download/0.3.0/zig-windows-x86_64-0.3.0.zip",
306 "shasum": "bb568c03950958f8bb3472139c3ab5ed74547c8c694ab50f404c202faf51baf4",
307 "size": "22524425"
308 },
309 "x86_64-linux": {
310 "tarball": "https://ziglang.org/download/0.3.0/zig-linux-x86_64-0.3.0.tar.xz",
311 "shasum": "b378d0aae30cb54f28494e7bc4efbc9bfb6326f47bfb302e8b5287af777b2f3c",
312 "size": "25209304"
313 }
314 },
315 "0.2.0": {
316 "date": "2018-03-15",
317 "docs": "https://ziglang.org/documentation/0.2.0/",
318 "notes": "https://ziglang.org/download/0.2.0/release-notes.html",
319 "src": {
320 "tarball": "https://ziglang.org/download/0.2.0/zig-0.2.0.tar.xz",
321 "shasum": "29c9beb172737f4d5019b88ceae829ae8bc6512fb4386cfbf895ae2b42aa6965",
322 "size": "1940832"
323 },
324 "x86_64-windows": {
325 "tarball": "https://ziglang.org/download/0.2.0/zig-win64-0.2.0.zip",
326 "shasum": "4f8a2979941a1f081ec8e545cca0b72608c0db1c5a3fd377a94db40649dcd3d4",
327 "size": "21076274"
328 },
329 "x86_64-linux": {
330 "tarball": "https://ziglang.org/download/0.2.0/zig-linux-x86_64-0.2.0.tar.xz",
331 "shasum": "209c6fb745d42474c0a73d6f291c7ae3a38b6a1b6b641eea285a7f840cc1a890",
332 "size": "22551928"
333 }
334 },
335 "0.1.1": {
336 "date": "2017-10-17",
337 "docs": "https://ziglang.org/documentation/0.1.1/",
338 "notes": "https://ziglang.org/download/0.1.1/release-notes.html",
339 "src": {
340 "tarball": "https://ziglang.org/download/0.1.1/zig-0.1.1.tar.xz",
341 "shasum": "ffca0cfb263485287e19cc997b08701fcd5f24b700345bcdc3dd8074f5a104e0",
342 "size": "1659716"
343 },
344 "x86_64-windows": {
345 "tarball": "https://ziglang.org/download/0.1.1/zig-win64-0.1.1.zip",
346 "shasum": "6fc88bef531af7e567fe30bf60da1487b86833cbee84c7a2f3e317030aa5b660",
347 "size": "19757776"
348 }
349 }
350}
ci/srht/update-download-page.zig created+103
...@@ -0,0 +1,103 @@
1const std = @import("std");
2const path = std.fs.path;
3const mem = std.mem;
4
5pub fn main() !void {
6 var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);
7 defer arena.deinit();
8
9 const allocator = &arena.allocator;
10
11 const out_dir = "out";
12 try std.fs.cwd().makePath(out_dir);
13 {
14 const out_file = out_dir ++ path.sep_str ++ "index.html";
15 const in_file = "index.html";
16 try render(allocator, in_file, out_file, .html);
17 }
18 {
19 const out_file = out_dir ++ path.sep_str ++ "index.json";
20 const in_file = "index.json";
21 try render(allocator, in_file, out_file, .plain);
22 }
23}
24
25fn render(
26 allocator: *mem.Allocator,
27 in_file: []const u8,
28 out_file: []const u8,
29 fmt: enum {
30 html,
31 plain,
32 },
33) !void {
34 const in_contents = try std.fs.cwd().readFileAlloc(allocator, in_file, 1 * 1024 * 1024);
35
36 var vars = try std.process.getEnvMap(allocator);
37
38 var buffer = std.ArrayList(u8).init(allocator);
39 defer buffer.deinit();
40
41 const State = enum {
42 Start,
43 OpenBrace,
44 VarName,
45 EndBrace,
46 };
47 const writer = buffer.writer();
48 var state = State.Start;
49 var var_name_start: usize = undefined;
50 var line: usize = 1;
51 for (in_contents) |byte, index| {
52 switch (state) {
53 State.Start => switch (byte) {
54 '{' => {
55 state = State.OpenBrace;
56 },
57 else => try writer.writeByte(byte),
58 },
59 State.OpenBrace => switch (byte) {
60 '{' => {
61 state = State.VarName;
62 var_name_start = index + 1;
63 },
64 else => {
65 try writer.writeByte('{');
66 try writer.writeByte(byte);
67 state = State.Start;
68 },
69 },
70 State.VarName => switch (byte) {
71 '}' => {
72 const var_name = in_contents[var_name_start..index];
73 if (vars.get(var_name)) |value| {
74 const trimmed = mem.trim(u8, value, " \r\n");
75 if (fmt == .html and mem.endsWith(u8, var_name, "BYTESIZE")) {
76 try writer.print("{Bi:.1}", .{try std.fmt.parseInt(u64, trimmed, 10)});
77 } else {
78 try writer.writeAll(trimmed);
79 }
80 } else {
81 std.debug.warn("line {d}: missing variable: {s}\n", .{ line, var_name });
82 try writer.writeAll("(missing)");
83 }
84 state = State.EndBrace;
85 },
86 else => {},
87 },
88 State.EndBrace => switch (byte) {
89 '}' => {
90 state = State.Start;
91 },
92 else => {
93 std.debug.warn("line {d}: invalid byte: '0x{x}'", .{ line, byte });
94 std.process.exit(1);
95 },
96 },
97 }
98 if (byte == '\n') {
99 line += 1;
100 }
101 }
102 try std.fs.cwd().writeFile(out_file, buffer.items);
103}
ci/srht/update_download_page+28-15
...@@ -28,12 +28,21 @@ curl --fail -I "$X86_64_FREEBSD_JSON_URL" >/dev/null || exit 0...@@ -28,12 +28,21 @@ curl --fail -I "$X86_64_FREEBSD_JSON_URL" >/dev/null || exit 0
28pip3 install s3cmd --user28pip3 install s3cmd --user
29S3CMD="$HOME/.local/bin/s3cmd"29S3CMD="$HOME/.local/bin/s3cmd"
3030
31# This is the user when pushing to the website repo.
32git config --global user.email "ziggy@ziglang.org"
33git config --global user.name "Ziggy"
34
35# Refresh this with `ssh-keyscan github.com` from a trusted Internet connection.
36# We hard code the public key here to detect man-in-the-middle attacks.
37echo "github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==" >> ~/.ssh/known_hosts
38
39# We don't want the .git folder inside the tarball.
31rm -rf .git40rm -rf .git
3241
33cd "$HOME"42cd "$HOME"
34wget "https://ziglang.org/builds/$NATIVE_TARBALL"43wget "https://ziglang.org/builds/$NATIVE_TARBALL"
35tar xf "$NATIVE_TARBALL"44tar xf "$NATIVE_TARBALL"
36ZIGDIR=$(basename $NATIVE_TARBALL .tar.xz)45ZIGDIR="$(pwd)/$(basename $NATIVE_TARBALL .tar.xz)"
37ZIG="$ZIGDIR/zig"46ZIG="$ZIGDIR/zig"
38LANGREF="$ZIGDIR/docs/langref.html"47LANGREF="$ZIGDIR/docs/langref.html"
39SRCTARBALLDIR="zig-$VERSION"48SRCTARBALLDIR="zig-$VERSION"
...@@ -68,28 +77,32 @@ export X86_64_FREEBSD_TARBALL="$(echo "$X86_64_FREEBSD_JSON" | jq .tarball -r)"...@@ -68,28 +77,32 @@ export X86_64_FREEBSD_TARBALL="$(echo "$X86_64_FREEBSD_JSON" | jq .tarball -r)"
68export X86_64_FREEBSD_BYTESIZE="$(echo "$X86_64_FREEBSD_JSON" | jq .size -r)"77export X86_64_FREEBSD_BYTESIZE="$(echo "$X86_64_FREEBSD_JSON" | jq .size -r)"
69export X86_64_FREEBSD_SHASUM="$(echo "$X86_64_FREEBSD_JSON" | jq .shasum -r)"78export X86_64_FREEBSD_SHASUM="$(echo "$X86_64_FREEBSD_JSON" | jq .shasum -r)"
7079
71# Refresh this with `ssh-keyscan github.com` from a trusted Internet connection.80export MASTER_DATE="$(date +%Y-%m-%d)"
72# We hard code the public key here to detect man-in-the-middle attacks.81export MASTER_VERSION="$VERSION"
73echo "github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==" >> ~/.ssh/known_hosts82
83cd "$SRCTARBALLDIR/ci/srht"
84"$ZIG" run update-download-page.zig
85CIDIR="$(pwd)"
7486
87# Create index.json and index.html and update the website repo.
88cd "$HOME"
75git clone git@github.com:ziglang/www.ziglang.org.git89git clone git@github.com:ziglang/www.ziglang.org.git
76cd www.ziglang.org90cd www.ziglang.org
77git checkout hugo-redesign91git checkout hugo-redesign
78export MASTER_DATE="$(date +%Y-%m-%d)"92WWWDIR="$(pwd)"
79export MASTER_VERSION="$VERSION"
80"../$ZIG" run ci/update-download-page.zig
8193
82$S3CMD put -P --no-mime-magic --add-header="cache-control: public, max-age=31536000, immutable" "../$SRC_TARBALL" s3://ziglang.org/builds/94$S3CMD put -P --no-mime-magic --add-header="cache-control: public, max-age=31536000, immutable" "$HOME/$SRC_TARBALL" s3://ziglang.org/builds/
8395
84$S3CMD put -P --no-mime-magic "../$LANGREF" s3://ziglang.org/documentation/master/index.html --add-header="Cache-Control: max-age=0, must-revalidate"96$S3CMD put -P --no-mime-magic "$LANGREF" s3://ziglang.org/documentation/master/index.html --add-header="Cache-Control: max-age=0, must-revalidate"
85$S3CMD put -P --no-mime-magic "../$ZIGDIR/docs/std/index.html" s3://ziglang.org/documentation/master/std/index.html --add-header="Cache-Control: max-age=0, must-revalidate"97$S3CMD put -P --no-mime-magic "$ZIGDIR/docs/std/index.html" s3://ziglang.org/documentation/master/std/index.html --add-header="Cache-Control: max-age=0, must-revalidate"
86$S3CMD put -P --no-mime-magic "../$ZIGDIR/docs/std/data.js" s3://ziglang.org/documentation/master/std/data.js --add-header="Cache-Control: max-age=0, must-revalidate"98$S3CMD put -P --no-mime-magic "$ZIGDIR/docs/std/data.js" s3://ziglang.org/documentation/master/std/data.js --add-header="Cache-Control: max-age=0, must-revalidate"
87$S3CMD put -P --no-mime-magic "../$ZIGDIR/docs/std/main.js" s3://ziglang.org/documentation/master/std/main.js --add-header="Cache-Control: max-age=0, must-revalidate"99$S3CMD put -P --no-mime-magic "$ZIGDIR/docs/std/main.js" s3://ziglang.org/documentation/master/std/main.js --add-header="Cache-Control: max-age=0, must-revalidate"
88100
89$S3CMD put -P --no-mime-magic ci/out/index.html s3://ziglang.org/download/index.html --add-header="Cache-Control: max-age=0, must-revalidate"101$S3CMD put -P --no-mime-magic "$CIDIR/out/index.html" s3://ziglang.org/download/index.html --add-header="Cache-Control: max-age=0, must-revalidate"
90$S3CMD put -P --no-mime-magic ci/out/index.json s3://ziglang.org/download/index.json --add-header="Cache-Control: max-age=0, must-revalidate"102$S3CMD put -P --no-mime-magic "$CIDIR/out/index.json" s3://ziglang.org/download/index.json --add-header="Cache-Control: max-age=0, must-revalidate"
91103
92cp ci/out/index.json data/releases.json104cd "$WWWDIR"
105cp "$CIDIR/out/index.json" data/releases.json
93git add data/releases.json106git add data/releases.json
94git commit -m "CI: update releases.json"107git commit -m "CI: update releases.json"
95git push origin hugo-redesign108git push origin hugo-redesign