From: <gem...@li...> - 2013-02-28 10:29:55
|
Revision: 1161 http://sourceforge.net/p/gemstracker/code/1161 Author: mennodekker Date: 2013-02-28 10:29:51 +0000 (Thu, 28 Feb 2013) Log Message: ----------- Preparing for release 1.6 instead of 1.5.8 Modified Paths: -------------- trunk/library/classes/Gems/Upgrades.php trunk/library/classes/Gems/Versions.php Modified: trunk/library/classes/Gems/Upgrades.php =================================================================== --- trunk/library/classes/Gems/Upgrades.php 2013-02-28 10:22:25 UTC (rev 1160) +++ trunk/library/classes/Gems/Upgrades.php 2013-02-28 10:29:51 UTC (rev 1161) @@ -64,6 +64,7 @@ $this->register(array($this, 'Upgrade154to155'), 'Upgrade from 1.5.4 to 1.5.5'); $this->register(array($this, 'Upgrade155to156'), 'Upgrade from 1.5.5 to 1.5.6'); $this->register(array($this, 'Upgrade156to157'), 'Upgrade from 1.5.6 to 1.5.7'); + $this->register(array($this, 'Upgrade157to16'), 'Upgrade from 1.5.7 to 1.6'); /** * To have the new_project updated to the highest level, update @@ -174,4 +175,16 @@ return true; } + + /** + * To upgrade to 1.6 just execute patchlevel 51 + */ + public function Upgrade157to16() + { + $this->_batch->addTask('Db_ExecutePatch', 51); + + $this->_batch->addTask('Echo', $this->_('Make sure to read the changelog as it contains important instructions')); + + return true; + } } \ No newline at end of file Modified: trunk/library/classes/Gems/Versions.php =================================================================== --- trunk/library/classes/Gems/Versions.php 2013-02-28 10:22:25 UTC (rev 1160) +++ trunk/library/classes/Gems/Versions.php 2013-02-28 10:29:51 UTC (rev 1161) @@ -69,7 +69,7 @@ */ public final function getGemsVersion() { - return '1.5.8'; + return '1.6'; } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |