Browse Source

Set branch revert as the last task on post deployment

1.0
Alejandro Glejberman 10 years ago
parent
commit
0b903788f3
  1. 2
      Mage/Command/BuiltIn/DeployCommand.php

2
Mage/Command/BuiltIn/DeployCommand.php

@ -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');
}

Loading…
Cancel
Save