Resolve conflict for PR #61

This commit is contained in:
Andrés Montañez
2014-07-30 21:35:21 -03:00
4 changed files with 38 additions and 8 deletions
@@ -51,11 +51,11 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware
$deployToDirectory = $this->getConfig()->deployment('to');
if ($this->getConfig()->release('enabled', false) == true) {
$releasesDirectory = $this->getConfig()->release('directory', 'releases');
$deployToDirectory = rtrim($this->getConfig()->deployment('to'), '/')
. '/' . $releasesDirectory
. '/' . $this->getConfig()->getReleaseId();
$this->runCommandRemote('mkdir -p ' . $releasesDirectory . '/' . $this->getConfig()->getReleaseId());
$output = null;
$this->runCommandRemote('mkdir -p ' . $deployToDirectory, $output , false);
}
// Create Tar Gz