Bumped version
This commit is contained in:
parent
c6b02cdc02
commit
2aafdb1400
2 changed files with 8 additions and 9 deletions
|
@ -47,7 +47,7 @@ class Version extends Command
|
||||||
|
|
||||||
$version = explode('-', $full_hash_version);
|
$version = explode('-', $full_hash_version);
|
||||||
$app_version = $current_app_version = $version[0];
|
$app_version = $current_app_version = $version[0];
|
||||||
$hash_version = $version[2];
|
$hash_version = (array_key_exists('2', $version)) ? $version[2] : '';
|
||||||
$prerelease_version = '';
|
$prerelease_version = '';
|
||||||
|
|
||||||
$this->line('Branch is: '.$use_branch);
|
$this->line('Branch is: '.$use_branch);
|
||||||
|
@ -57,7 +57,6 @@ class Version extends Command
|
||||||
if (count($version)==3) {
|
if (count($version)==3) {
|
||||||
$this->line('This does not look like an alpha/beta release.');
|
$this->line('This does not look like an alpha/beta release.');
|
||||||
} else {
|
} else {
|
||||||
print_r($version);
|
|
||||||
if (array_key_exists('3',$version)) {
|
if (array_key_exists('3',$version)) {
|
||||||
$this->line('The current version looks like a beta release.');
|
$this->line('The current version looks like a beta release.');
|
||||||
$prerelease_version = $version[1];
|
$prerelease_version = $version[1];
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
return array (
|
return array (
|
||||||
'app_version' => 'v4.1.6',
|
'app_version' => 'v4.1.6',
|
||||||
'full_app_version' => 'v4.1.6 - build 2994-g83c8449',
|
'full_app_version' => 'v4.1.6 - build 2834',
|
||||||
'build_version' => '2994',
|
'build_version' => '2834',
|
||||||
'prerelease_version' => '',
|
'prerelease_version' => '',
|
||||||
'hash_version' => 'g83c8449',
|
'hash_version' => 'g83c8449',
|
||||||
'full_hash' => 'v4.1.5-76-gb934d2e',
|
'full_hash' => 'v4.1.6',
|
||||||
'branch' => 'develop',
|
'branch' => 'develop',
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue