From 1387904cdbc44173463c628442a921a2e66d5b1d Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 11 Aug 2008 16:09:29 -0500 Subject: [PATCH] bug 2504: switch version number in HEAD to 3.1 Signed-off-by: Galen Charlton --- installer/data/mysql/updatedatabase.pl | 6 ++++++ kohaversion.pl | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 59ef43c961..042a80b0c3 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -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 diff --git a/kohaversion.pl b/kohaversion.pl index 582aa2c163..a0404b20e3 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -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 -- 2.39.5