From e46e50071fce0e6b47ef7712fae8465933bd618a Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 8 Jun 2011 20:40:29 -0400 Subject: Final fixups for a working Windows build --- win/rename_installer.pl | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 win/rename_installer.pl (limited to 'win/rename_installer.pl') diff --git a/win/rename_installer.pl b/win/rename_installer.pl deleted file mode 100644 index d24abb995..000000000 --- a/win/rename_installer.pl +++ /dev/null @@ -1,41 +0,0 @@ -#!perl - -open(FH,"<../src/version.sh") or die("Can't open version.sh"); -while (chomp($v = )) -{ - $version = $v if $v =~ /^echo/; -} -close FH; - -print "Version: '$version'\n"; - -$version =~ /InspIRCd-(\d+)\.(\d+)\.(\d+)([ab\+]|RC|rc)/; - -$v1 = $1; -$v2 = $2; -$v3 = $3; -$type = $4; - -print "v1=$1 v2=$2 v3=$3 type=$4\n"; - -if ($type =~ /^[ab]|rc|RC$/) -{ - $version =~ /InspIRCd-\d+\.\d+\.\d+([ab]|RC|rc)(\d+)/; - $alphabeta = $2; - print "Version sub is $type $alphabeta\n"; - $name = "InspIRCd-$v1.$v2.$v3$type$alphabeta.exe"; - $rel = "$v1.$v2.$v3$type$alphabeta"; -} -else -{ - $name = "InspIRCd-$v1.$v2.$v3.exe"; - $rel = "$v1.$v2.$v3"; -} - -print "del $name\n"; -print "ren Setup.exe $name\n"; - -system("del $name"); -system("ren Setup.exe $name"); - -system("upload_release.bat $name $rel"); -- cgit v1.2.3