-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathreleases.html
More file actions
129 lines (115 loc) · 5.26 KB
/
releases.html
File metadata and controls
129 lines (115 loc) · 5.26 KB
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
---
layout: page
title: Bitcoin ABC Releases
subtitle: Download the latest Bitcoin ABC software
---
{% assign active_versions = "0.33, 0.32" | split: ", " %}
{% assign releases = site.data.github-releases %}
{% if releases.size > 0 %}
{% assign latestVersion = releases[0].name %}
{% assign latestMinorVersion = latestVersion | slice: 0, 4 %}
{% include upgrade-notice.html %}
<!-- Offset the version anchor of the first release so that the top of the page is in view -->
<a class="offset-anchor" style="top: -400px" id="{{ latestVersion }}"></a>
<div class="hero-box">
<h1>Download Bitcoin ABC {{ latestVersion }}</h1>
<div style="margin: 6px">Published: {{ releases[0].published_at | date: "%a %b %e %Y" }}</div>
<div>
<a class="btn btn-primary download-button" href="https://download.bitcoinabc.org/{{ latestVersion }}/linux/bitcoin-abc-{{ latestVersion }}-x86_64-linux-gnu.tar.gz">
<i class="fab fa-linux"></i>
Linux
</a>
<a class="btn btn-primary download-button" href="https://download.bitcoinabc.org/{{ latestVersion }}/osx/bitcoin-abc-{{ latestVersion }}-osx-unsigned.zip">
<i class="fab fa-apple"></i>
OSX
</a>
<a class="btn btn-primary download-button" href="https://download.bitcoinabc.org/{{ latestVersion }}/win/bitcoin-abc-{{ latestVersion }}-win64-setup-unsigned.exe">
<i class="fab fa-windows"></i>
Windows
</a>
<a class="btn btn-primary download-button" href="https://download.bitcoinabc.org/{{ latestVersion }}/src/bitcoin-abc-{{ latestVersion }}.tar.gz">
<i class="fas fa-code-branch"></i>
Source Snapshot
</a>
</div>
<div style="margin-top: 20px">
<h4>Packages</h4>
<a class="btn btn-primary download-button" href="https://launchpad.net/~bitcoin-abc/+archive/ubuntu/ppa/">
<i class="fab fa-ubuntu"></i>
Ubuntu
</a>
<div class="btn-group">
<a class="btn btn-primary download-button" style="border-right: solid 5px #1e5d94;" href="https://aur.archlinux.org/packages/bitcoin-abc/">
Arch Linux
</a>
<a class="btn btn-primary download-button" href="https://aur.archlinux.org/packages/bitcoin-abc-qt/">
(Qt)
</a>
</div>
<a class="btn btn-primary download-button" href="https://hub.docker.com/r/bitcoinabc/bitcoin-abc/">
<i class="fab fa-docker"></i>
Docker
</a>
</div>
</div>
<div class="hero-box">
For the latest source code, see <a href="https://github.com/Bitcoin-ABC/bitcoin-abc">Github</a>.
</div>
{% capture include_release_notes %}{% include_relative abc_md_docs/doc/release-notes/release-notes-{{ latestVersion }}.orig.md %}{% endcapture %}
{{ include_release_notes | markdownify }}
<hr />
<!-- Offset the version anchor of the first past release up here so that the top of the table is in view -->
<a class="offset-anchor" id="{{ releases[1].name }}"></a>
<div style="text-align: center;">
{% assign versionAnchorIndex = 2 %}
{% assign pastReleases = releases | slice:1,15 %}
{% if pastReleases.size > 0 %}
<h2>Past Releases</h2>
<table style="margin: 0 auto;">
<tbody>
<tr>
<td>Version</td>
<td>Published</td>
<td>Downloads</td>
<td>Release Notes</td>
</tr>
{% for release in pastReleases %}
{% assign version = release.name %}
{% assign minor_version = version | slice: 0, 4 %}
{% if active_versions contains minor_version %}
<tr>
<td>
{{ version }}
<!-- offset-anchor version does not match `version`, as the whole
point is to offset the location of the anchor so that the
correct version is in view without additional scrolling -->
<a class="offset-anchor" id="{{ releases[versionAnchorIndex].name }}"></a>
{% assign versionAnchorIndex = versionAnchorIndex | plus: 1 %}
</td>
<td>{{ release.published_at | date: "%Y %b %e" }}</td>
<td>
<a class="btn btn-primary" href="https://download.bitcoinabc.org/{{ version }}/linux/bitcoin-abc-{{ version }}-x86_64-linux-gnu.tar.gz">
<i class="fab fa-linux"></i>
</a>
<a class="btn btn-primary" href="https://download.bitcoinabc.org/{{ version }}/osx/bitcoin-abc-{{ version }}-osx-unsigned.dmg">
<i class="fab fa-apple"></i>
</a>
<a class="btn btn-primary" href="https://download.bitcoinabc.org/{{ version }}/win/bitcoin-abc-{{ version }}-win64-setup-unsigned.exe">
<i class="fab fa-windows"></i>
</a>
<a class="btn btn-primary" href="https://download.bitcoinabc.org/{{ version }}/src/bitcoin-abc-{{ version }}.tar.gz">
<i class="fas fa-code-branch"></i>
</a>
</td>
<td><a href="/doc/release-notes/release-notes-{{ version }}.html">{{ version }} Release Notes</a></td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
{% endif %}
<h3>For older releases, see <a href="https://download.bitcoinabc.org/">Archived Releases</a></h3>
</div>
{% else %}
<h3 style="text-align: center"><a href="https://download.bitcoinabc.org/">Download Releases Here</a></h3>
{% endif %}