mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-24 01:21:54 +02:00
New Version 0.9.8.
This commit is contained in:
parent
0410c0efec
commit
7a87460457
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
2
bin/mage
2
bin/mage
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
#VERSION:0.9.8
|
||||
#VERSION:0.9.9
|
||||
|
||||
SCRIPT=$(readlink -f $0)
|
||||
DIR=$(dirname $SCRIPT)
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue