diff --git a/app/Console/Commands/Version.php b/app/Console/Commands/Version.php index 28b296c7..bbe271b6 100644 --- a/app/Console/Commands/Version.php +++ b/app/Console/Commands/Version.php @@ -58,7 +58,8 @@ class Version extends Command file_put_contents($version_file, Yaml::dump($cfg, 4, 2)); } - $version = $this->versionSvc->getCurrentVersion(!$this->option('base-only')); + $incl_build = empty($this->option('base-only')) ? true : false; + $version = $this->versionSvc->getCurrentVersion($incl_build); echo $version."\n"; } }