support/buildbot/bootstrap.pl
author David Anderson <dvander@alliedmods.net>
Sat Dec 19 16:48:49 2009 -0800 (2009-12-19)
changeset 691 92ea98d22d75
parent 653 6d63e46a915d
child 694 74e01be179dc
permissions -rwxr-xr-x
Removed -dev tag for release build.
     1 #!/usr/bin/perl
     2 
     3 use strict;
     4 use Cwd;
     5 use File::Basename;
     6 
     7 my ($myself, $path) = fileparse($0);
     8 chdir($path);
     9 
    10 require 'helpers.pm';
    11 
    12 #Go to main source dir
    13 chdir(Build::PathFormat('../..'));
    14 
    15 #Do the annoying revision bumping.
    16 #Linux needs some help here.
    17 if ($^O eq "linux")
    18 {
    19 	Build::Command("flip -u modules.versions");
    20 	Build::Command("flip -u support/versionchanger.pl");
    21 	Build::Command("chmod +x support/versionchanger.pl");
    22 }
    23 #Build::Command(Build::PathFormat('support/versionchanger.pl') . ' --buildstring="-dev"');
    24