New Version 0.9.8.

This commit is contained in:
Andrés Montañez 2012-03-31 14:41:29 -03:00
parent 0410c0efec
commit 7a87460457
3 changed files with 9 additions and 4 deletions

View file

@ -13,9 +13,14 @@ class Mage_Config
if (($environment != '') && file_exists('.mage/config/environment/' . $environment . '.yml')) {
$this->_environment = spyc_load_file('.mage/config/environment/' . $environment . '.yml');
$this->_environmentName = $environment;
// Create temporal directory for clone
if (is_array($this->_environment['deployment']['source'])) {
$newTemporal = $this->_environment['deployment']['source']['temporal']
. md5(microtime()) . '/';
if (trim($this->_environment['deployment']['source']['temporal']) == '') {
$this->_environment['deployment']['source']['temporal'] = '/tmp';
}
$newTemporal = rtrim($this->_environment['deployment']['source']['temporal'], '/')
. '/' . md5(microtime()) . '/';
$this->_environment['deployment']['source']['temporal'] = $newTemporal;
}
}

View file

@ -1,5 +1,5 @@
#!/bin/sh
#VERSION:0.9.8
#VERSION:0.9.9
SCRIPT=$(readlink -f $0)
DIR=$(dirname $SCRIPT)

View file

@ -24,7 +24,7 @@ date_default_timezone_set('UTC');
$baseDir = dirname(dirname(__FILE__));
define('MAGALLANES_VERSION', '0.9.8');
define('MAGALLANES_VERSION', '0.9.9');
require_once $baseDir . '/Mage/spyc.php';
require_once $baseDir . '/Mage/Autoload.php';