Rename beta to alpha
This commit is contained in:
parent
83d4f68b6d
commit
de801a93aa
1 changed files with 9 additions and 9 deletions
18
index.html
18
index.html
|
@ -23,20 +23,20 @@
|
||||||
</header>
|
</header>
|
||||||
<main id="main" class="main">
|
<main id="main" class="main">
|
||||||
<a
|
<a
|
||||||
id="beta-button"
|
id="alfa-button"
|
||||||
title="Pobierz wersję beta"
|
title="Pobierz wersję alfa"
|
||||||
href="https://github.com/wulkanowy/wulkanowy/releases"
|
href="https://github.com/wulkanowy/wulkanowy/releases"
|
||||||
class="button button--beta"
|
class="button button--alfa"
|
||||||
>Pobierz wersję beta<br>
|
>Pobierz wersję alfa<br>
|
||||||
<span id="beta-version">v0.0.0</span>
|
<span id="alfa-version">v0.0.0</span>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
id="alfa-button"
|
id="nightly-button"
|
||||||
title="Pobierz wersję nightly"
|
title="Pobierz wersję nightly"
|
||||||
href="https://bitrise-redirector.herokuapp.com/v0.1/apps/daeff1893f3c8128/builds/master/artifacts/app-debug-bitrise-signed.apk"
|
href="https://bitrise-redirector.herokuapp.com/v0.1/apps/daeff1893f3c8128/builds/master/artifacts/app-debug-bitrise-signed.apk"
|
||||||
class="button button--nightly"
|
class="button button--nightly"
|
||||||
>Pobierz wersję nightly<br>
|
>Pobierz wersję nightly<br>
|
||||||
<span id="alfa-version">v000</span>
|
<span id="nightly-version">v000</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
@ -76,7 +76,7 @@
|
||||||
res.send(null);
|
res.send(null);
|
||||||
};
|
};
|
||||||
|
|
||||||
addButtonInfo("https://api.github.com/repos/wulkanowy/wulkanowy/releases/latest", "#beta-button", "#beta-version",
|
addButtonInfo("https://api.github.com/repos/wulkanowy/wulkanowy/releases/latest", "#alfa-button", "#alfa-version",
|
||||||
function(button, version, res) {
|
function(button, version, res) {
|
||||||
var json = JSON.parse(res.responseText);
|
var json = JSON.parse(res.responseText);
|
||||||
button.href = json.assets[0].browser_download_url;
|
button.href = json.assets[0].browser_download_url;
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
);
|
);
|
||||||
|
|
||||||
var nightly = function() {
|
var nightly = function() {
|
||||||
addButtonInfo("https://bitrise-redirector.herokuapp.com/v0.1/apps/daeff1893f3c8128/builds/master/artifacts/app-debug-bitrise-signed.apk/info", "#alfa-button", "#alfa-version",
|
addButtonInfo("https://bitrise-redirector.herokuapp.com/v0.1/apps/daeff1893f3c8128/builds/master/artifacts/app-debug-bitrise-signed.apk/info", "#nightly-button", "#nightly-version",
|
||||||
function(button, version, res) {
|
function(button, version, res) {
|
||||||
var json = JSON.parse(res.responseText);
|
var json = JSON.parse(res.responseText);
|
||||||
button.href = json.url;
|
button.href = json.url;
|
||||||
|
|
Loading…
Reference in a new issue