Add v to version number
This commit is contained in:
parent
b93146e9c6
commit
450ea6a968
1 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
||||||
href="https://github.com/wulkanowy/wulkanowy/releases"
|
href="https://github.com/wulkanowy/wulkanowy/releases"
|
||||||
class="button button--beta"
|
class="button button--beta"
|
||||||
>Pobierz wersję beta<br>
|
>Pobierz wersję beta<br>
|
||||||
<span id="beta-version">0.0.0</span>
|
<span id="beta-version">v0.0.0</span>
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
id="alfa-button"
|
id="alfa-button"
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
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">000</span>
|
<span id="alfa-version">v000</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
if(betaRes.status === 200) {
|
if(betaRes.status === 200) {
|
||||||
var json = JSON.parse(betaRes.responseText);
|
var json = JSON.parse(betaRes.responseText);
|
||||||
betaButton.href = json.assets[0].browser_download_url;
|
betaButton.href = json.assets[0].browser_download_url;
|
||||||
betaVersion.innerHTML = json.name;
|
betaVersion.innerHTML = "v" + json.name;
|
||||||
} else {
|
} else {
|
||||||
betaVersion.innerHTML = 'wersja nieznana';
|
betaVersion.innerHTML = 'wersja nieznana';
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
if(alfaRes.status === 200) {
|
if(alfaRes.status === 200) {
|
||||||
var json = JSON.parse(alfaRes.responseText);
|
var json = JSON.parse(alfaRes.responseText);
|
||||||
alfaButton.href = json.url;
|
alfaButton.href = json.url;
|
||||||
alfaVersion.innerHTML = json.latestVersionCode;
|
alfaVersion.innerHTML = "v" + json.latestVersionCode;
|
||||||
} else {
|
} else {
|
||||||
alfaVersion.innerHTML = 'wersja nieznana';
|
alfaVersion.innerHTML = 'wersja nieznana';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue