mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-02 22:02:16 +02:00
added in-deploy flag @ rollback task.
This commit is contained in:
parent
5eb26748ab
commit
a632dac80a
|
@ -55,6 +55,8 @@ class RollbackTask extends AbstractTask implements IsReleaseAware
|
|||
$result = $this->runCommandRemote('ls -1 ' . $releasesDirectory, $output);
|
||||
$releases = ($output == '') ? array() : explode(PHP_EOL, $output);
|
||||
|
||||
$inDeploy = $this->getParameter('inDeploy',false);
|
||||
|
||||
if (count($releases) == 0) {
|
||||
Console::output('Release are not available for <bold>' . $this->getConfig()->getHost() . '</bold> ... <red>FAIL</red>');
|
||||
|
||||
|
|
Loading…
Reference in a new issue