mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Add environment with releases.
This commit is contained in:
+7
-1
@@ -153,8 +153,14 @@ class Mage_Console
|
||||
case 'add';
|
||||
switch ($this->_args[1]) {
|
||||
case 'environment':
|
||||
if (isset($this->_args[3]) && ($this->_args[3] == '--with-releases')) {
|
||||
$withRelases = true;
|
||||
} else {
|
||||
$withRelases = false;
|
||||
}
|
||||
|
||||
$task = new Mage_Task_Add;
|
||||
$task->environment($this->_args[2]);
|
||||
$task->environment($this->_args[2], $withRelases);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user