Set branch revert as the last task on post deployment

This commit is contained in:
Alejandro Glejberman 2015-06-02 09:15:35 -03:00
parent 132539da91
commit 0b903788f3

View file

@ -251,7 +251,7 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
// Change Branch Back
if ($config->deployment('scm', false)) {
array_unshift($tasksToRun, 'scm/change-branch');
array_push($tasksToRun, 'scm/change-branch');
$config->addParameter('_changeBranchRevert');
}