|
|
@ -14,6 +14,10 @@ class Mage_Task_BuiltIn_Deployment_Releases |
|
|
|
$releasesDirectory = $this->_config->release('directory', 'releases'); |
|
|
|
$releasesDirectory = $this->_config->release('directory', 'releases'); |
|
|
|
$symlink = $this->_config->release('symlink', 'current'); |
|
|
|
$symlink = $this->_config->release('symlink', 'current'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (substr($symlink, 0, 1) == '/') { |
|
|
|
|
|
|
|
$releasesDirectory = rtrim($this->_config->deployment('to'), '/') . '/' . $releasesDirectory; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$currentCopy = $releasesDirectory . '/' . $this->_config->getReleaseId(); |
|
|
|
$currentCopy = $releasesDirectory . '/' . $this->_config->getReleaseId(); |
|
|
|
|
|
|
|
|
|
|
|
// Fetch the user and group from base directory |
|
|
|
// Fetch the user and group from base directory |
|
|
|