Skip to content

Commit

Permalink
Rev version to 16.02
Browse files Browse the repository at this point in the history
Also fix issue with upgrade-database to fix issue with not updating
during deploys.
  • Loading branch information
paulej72 committed Jan 29, 2016
1 parent 725364f commit 94840b3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -8,7 +8,7 @@
##

# the used tools
VERSION = 15.05.4
VERSION = 16.02
DISTNAME = rehash
DISTVNAME = $(DISTNAME)-$(VERSION)

Expand Down
2 changes: 1 addition & 1 deletion Slash/Constants/Constants.pm
Expand Up @@ -27,7 +27,7 @@ The constants below are grouped by tag.
use strict;
use base 'Exporter';

our $VERSION = '15.07';
our $VERSION = '16.02';
our %CONSTANTS;

constants();
Expand Down
3 changes: 3 additions & 0 deletions Slash/DB/MySQL/MySQL.pm
Expand Up @@ -13317,6 +13317,9 @@ sub upgradeCoreDB() {
# Every schema upgrade should have a comment as to why. In this case, initialize the
# core version schema
print "upgrading core to v1 ...\n";
if (!$self->sqlDo("UPDATE vars SET value = 'rehash_16_02' WHERE name = 'cvs_tag_currentcode'")) {
return 0;
};
if (!$self->sqlDo("INSERT INTO site_info (name, value, description) VALUES ('db_schema_core', 1, 'Version of core database schema')")) {
return 0;
};
Expand Down
2 changes: 1 addition & 1 deletion bin/upgrade-database
@@ -1,4 +1,4 @@
#!/srv/soylentnews.org/perl/bin/perl -w
#!/usr/bin/perl -w

use strict;
use File::Basename;
Expand Down

0 comments on commit 94840b3

Please sign in to comment.