mirror of
https://github.com/Dannecron/coverage-merger.git
synced 2025-12-25 15:52:34 +03:00
trying to add version to app
bump php and composer version in docker image
This commit is contained in:
7
merger
7
merger
@@ -27,7 +27,12 @@ if (isset($GLOBALS['_composer_autoload_path'])) {
|
||||
unset($knownAutoloadPaths, $path);
|
||||
}
|
||||
|
||||
$app = new \Ahc\Cli\Application('clover-merger', '0.1.0');
|
||||
$appVersion = \getenv('MERGER_VERSION');
|
||||
if ($appVersion === false) {
|
||||
$appVersion = 'dev';
|
||||
}
|
||||
|
||||
$app = new \Ahc\Cli\Application('clover-merger', $appVersion);
|
||||
|
||||
$app->onException(static function (\Throwable $exception, int $exitCode) use ($app): void {
|
||||
$io = $app->io();
|
||||
|
||||
Reference in New Issue
Block a user