From 24b893bd7c5aa6be01d05c026d527190449fff02 Mon Sep 17 00:00:00 2001 From: Kuba Turek Date: Fri, 6 Feb 2015 20:50:07 +0100 Subject: [PATCH] Fix remote deployment path for GitRebaseTask --- Mage/Task/BuiltIn/Deployment/Strategy/GitRebaseTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/Task/BuiltIn/Deployment/Strategy/GitRebaseTask.php b/Mage/Task/BuiltIn/Deployment/Strategy/GitRebaseTask.php index 65d8c76..801fa73 100644 --- a/Mage/Task/BuiltIn/Deployment/Strategy/GitRebaseTask.php +++ b/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');