Change Deploy Stages with Constants.

This commit is contained in:
Andrés Montañez
2013-12-15 17:11:53 -02:00
parent d55e18b34b
commit eecf9bf4ea
4 changed files with 22 additions and 15 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ class RollbackTask extends AbstractTask implements IsReleaseAware
$this->getConfig()->setReleaseId($releaseId);
foreach ($tasksToRun as $taskData) {
$task = Factory::get($taskData, $this->getConfig(), true, 'deploy');
$task = Factory::get($taskData, $this->getConfig(), true, self::STAGE_DEPLOY);
$task->init();
Console::output('Running <purple>' . $task->getName() . '</purple> ... ', 2, false);