mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-08-26 13:20:17 +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 New Issue
Block a user