Commit 8962e7d7 authored by Lukas Matt's avatar Lukas Matt

Replace github download link with bintray

parent f453e759
Pipeline #305 passed with stage
in 3 minutes and 45 seconds
.sass-cache/
_site/
public/
test/
<script src="{{base}}/assets/js/popper.min.js"></script>
<script src="{{base}}/assets/js/bootstrap.min.js"></script>
<script src="{{base}}/assets/js/latest_release.js"></script>
</body>
</html>
......@@ -32,6 +32,8 @@
</ul>
</div>
<div class="collapse navbar-collapse justify-content-end">
<button class="github-link btn btn-outline-success">Download </button>
<a href="https://bintray.com/ganggo/ganggo/alpha/_latestVersion">
<img src="https://api.bintray.com/packages/ganggo/ganggo/alpha/images/download.svg" border="0">
</a>
</div>
</nav>
(function() {
var apiUrl = "https://api.github.com/repos/ganggo/ganggo/releases/latest";
$.getJSON(apiUrl).done(function (release) {
var tagName = release.tag_name;
$.each(release.assets, function(index, asset) {
var btn = $(".github-link");
btn.text(btn.text() + tagName);
btn.click(function() {
window.location.href = asset.browser_download_url;
});
});
});
})();
......@@ -14,15 +14,11 @@ GangGo is a decentralized social network written in [GoLang](https://golang.org/
## Installation
[![Download](https://api.bintray.com/packages/ganggo/ganggo/alpha/images/download.svg)](https://bintray.com/ganggo/ganggo/alpha/_latestVersion) it comes with a small installation wizard :) Happy Federating!
<asciinema-player src="assets/casts/installation.cast"></asciinema-player>
<script src="assets/js/asciinema-player.js"></script>
<br />
<button class="github-link btn btn-outline-success"></button> and make it executable `chmod +x updater.linux-amd64.alpha`!
It comes with a small installation wizard :) Happy Federating!
## Contribution
If you want to push your changes to the offical ganggo repository:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment