1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-09-13 12:40:18 +02:00

Update AbstractTask.php

This commit is contained in:
Andrés Montañez 2014-10-11 21:16:42 -02:00
parent 74087c9dd9
commit 861a823f7e

View File

@ -223,7 +223,7 @@ abstract class AbstractTask
*/ */
protected final function runCommand($command, &$output = null) protected final function runCommand($command, &$output = null)
{ {
if ($this->getStage() == self::STAGE_DEPLOY) { if ($this->getStage() == self::STAGE_DEPLOY || $this->getStage() == self::STAGE_POST_RELEASE) {
return $this->runCommandRemote($command, $output); return $this->runCommandRemote($command, $output);
} else { } else {
return $this->runCommandLocal($command, $output); return $this->runCommandLocal($command, $output);