|
|
@ -116,6 +116,7 @@ class RollbackTask extends AbstractTask implements IsReleaseAware |
|
|
|
Console::output('Running <purple>' . $task->getName() . '</purple> ... ', 2, false); |
|
|
|
Console::output('Running <purple>' . $task->getName() . '</purple> ... ', 2, false); |
|
|
|
|
|
|
|
|
|
|
|
if ($task instanceOf RollbackAware) { |
|
|
|
if ($task instanceOf RollbackAware) { |
|
|
|
|
|
|
|
/* @var $task AbstractTask */ |
|
|
|
$tasks++; |
|
|
|
$tasks++; |
|
|
|
$result = $task->run(); |
|
|
|
$result = $task->run(); |
|
|
|
|
|
|
|
|
|
|
@ -130,13 +131,6 @@ class RollbackTask extends AbstractTask implements IsReleaseAware |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ($this->getConfig()->release('compressreleases', false) == true) { |
|
|
|
|
|
|
|
// Tar the current |
|
|
|
|
|
|
|
$result = $this->tarReleases() && $result; |
|
|
|
|
|
|
|
// Untar the rollbackto |
|
|
|
|
|
|
|
$result = $this->untarRelease($releaseId) && $result; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Changing Release |
|
|
|
// Changing Release |
|
|
|
Console::output('Running <purple>Rollback Release [id=' . $releaseId . ']</purple> ... ', 2, false); |
|
|
|
Console::output('Running <purple>Rollback Release [id=' . $releaseId . ']</purple> ... ', 2, false); |
|
|
|
|
|
|
|
|
|
|
@ -167,6 +161,7 @@ class RollbackTask extends AbstractTask implements IsReleaseAware |
|
|
|
Console::output('Running <purple>' . $task->getName() . '</purple> ... ', 2, false); |
|
|
|
Console::output('Running <purple>' . $task->getName() . '</purple> ... ', 2, false); |
|
|
|
|
|
|
|
|
|
|
|
if ($task instanceOf RollbackAware) { |
|
|
|
if ($task instanceOf RollbackAware) { |
|
|
|
|
|
|
|
/* @var $task AbstractTask */ |
|
|
|
$tasks++; |
|
|
|
$tasks++; |
|
|
|
$result = $task->run(); |
|
|
|
$result = $task->run(); |
|
|
|
|
|
|
|
|
|
|
|