diff --git a/app/Console/Commands/Version.php b/app/Console/Commands/Version.php index 8d71e23e7..e73b6aae5 100644 --- a/app/Console/Commands/Version.php +++ b/app/Console/Commands/Version.php @@ -47,7 +47,7 @@ class Version extends Command $version = explode('-', $full_hash_version); $app_version = $current_app_version = $version[0]; - $hash_version = $version[2]; + $hash_version = (array_key_exists('2', $version)) ? $version[2] : ''; $prerelease_version = ''; $this->line('Branch is: '.$use_branch); @@ -57,7 +57,6 @@ class Version extends Command if (count($version)==3) { $this->line('This does not look like an alpha/beta release.'); } else { - print_r($version); if (array_key_exists('3',$version)) { $this->line('The current version looks like a beta release.'); $prerelease_version = $version[1]; diff --git a/config/version.php b/config/version.php index 2227641ad..f9e59a80a 100644 --- a/config/version.php +++ b/config/version.php @@ -1,10 +1,10 @@ 'v4.1.6', - 'full_app_version' => 'v4.1.6 - build 2994-g83c8449', - 'build_version' => '2994', - 'prerelease_version' => '', - 'hash_version' => 'g83c8449', - 'full_hash' => 'v4.1.5-76-gb934d2e', - 'branch' => 'develop', + 'app_version' => 'v4.1.6', + 'full_app_version' => 'v4.1.6 - build 2834', + 'build_version' => '2834', + 'prerelease_version' => '', + 'hash_version' => 'g83c8449', + 'full_hash' => 'v4.1.6', + 'branch' => 'develop', );