Fix remote deployment path for GitRebaseTask

This commit is contained in:
Kuba Turek 2015-02-06 20:50:07 +01:00
parent 8752790b3f
commit 24b893bd7c

View file

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