mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00:00
--HG-- rename : core-legacy/svn_version.h => core-legacy/version.h rename : core-legacy/svn_version.tpl => core-legacy/version.tpl
25 lines
525 B
Perl
Executable File
25 lines
525 B
Perl
Executable File
#!/usr/bin/perl
|
|
|
|
use strict;
|
|
use Cwd;
|
|
use File::Basename;
|
|
|
|
my ($myself, $path) = fileparse($0);
|
|
chdir($path);
|
|
|
|
require 'helpers.pm';
|
|
|
|
#Go to main source dir
|
|
chdir(Build::PathFormat('../..'));
|
|
|
|
#Do the annoying revision bumping.
|
|
#Linux needs some help here.
|
|
if ($^O eq "linux")
|
|
{
|
|
Build::Command("flip -u modules.versions");
|
|
Build::Command("flip -u support/versionchanger.pl");
|
|
Build::Command("chmod +x support/versionchanger.pl");
|
|
}
|
|
Build::Command(Build::PathFormat('support/versionchanger.pl') . '--buildstring="-dev"');
|
|
|