mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-03 04:08:57 +02:00
Update AbstractTask.php
This commit is contained in:
@@ -223,7 +223,7 @@ abstract class AbstractTask
|
||||
*/
|
||||
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);
|
||||
} else {
|
||||
return $this->runCommandLocal($command, $output);
|
||||
|
||||
Reference in New Issue
Block a user