Browse Source

Fix remote deployment path for GitRebaseTask

1.0
Kuba Turek 10 years ago
parent
commit
24b893bd7c
  1. 2
      Mage/Task/BuiltIn/Deployment/Strategy/GitRebaseTask.php

2
Mage/Task/BuiltIn/Deployment/Strategy/GitRebaseTask.php

@ -42,7 +42,7 @@ class GitRebaseTask extends BaseStrategyTaskAbstract implements IsReleaseAware
$deployToDirectory = rtrim($this->getConfig()->deployment('to'), '/')
. '/' . $releasesDirectory
. '/' . $this->getConfig()->getReleaseId();
$this->runCommandRemote('mkdir -p ' . $deployToDirectory . '/' . $this->getConfig()->getReleaseId());
$this->runCommandRemote('mkdir -p ' . $deployToDirectory);
}
$branch = $this->getParameter('branch', 'master');

Loading…
Cancel
Save