Browse Source

Merge pull request #234 from aglejberman/master

Set branch revert as the last task on post deployment
1.0
Andrés Montañez 9 years ago
parent
commit
7a0a8c6013
  1. 2
      Mage/Command/BuiltIn/DeployCommand.php

2
Mage/Command/BuiltIn/DeployCommand.php

@ -267,7 +267,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