1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-09-13 12:40:18 +02:00

fix: DeployCommand does not fail when no one "Post-Deployment Tasks" failed and failed "Deployment Task" exist

This commit is contained in:
Dmitry Motylev 2014-12-23 17:34:48 +00:00
parent 683d11ac90
commit 3b70a8a3c1

View File

@ -203,6 +203,10 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
$exitCode = 0;
}
if (self::$deployStatus === self::FAILED) {
$exitCode = 1;
}
return $exitCode;
}