bug 2504: switch version number in HEAD to 3.1
authorGalen Charlton <galen.charlton@liblime.com>
Mon, 11 Aug 2008 21:09:29 +0000 (16:09 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Tue, 12 Aug 2008 01:54:55 +0000 (20:54 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
installer/data/mysql/updatedatabase.pl
kohaversion.pl

index 59ef43c..042a80b 100755 (executable)
@@ -1961,6 +1961,12 @@ END_SQL
     SetVersion ($DBversion);
 }
 
+$DBversion = '3.01.00.000';
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+    print "Upgrade to $DBversion done (start of 3.1)\n";
+    SetVersion ($DBversion);
+}
+
 =item DropAllForeignKeys($table)
 
   Drop all foreign keys of the table $table
index 582aa2c..a0404b2 100644 (file)
@@ -10,7 +10,7 @@
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.00.00.107';
+    our $VERSION = '3.01.00.000';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install