tools/buildbot/package.pl
changeset 2994 1ef5e4e002e2
parent 2783 5f333027ef04
child 2995 716c412891ce
     1.1 --- a/tools/buildbot/package.pl	Thu May 13 04:22:31 2010 -0500
     1.2 +++ b/tools/buildbot/package.pl	Thu May 13 04:23:43 2010 -0500
     1.3 @@ -35,6 +35,16 @@
     1.4  $version =~ s/-dev//g;
     1.5  $version .= '-hg' . Build::HgRevNum('../../build');
     1.6  
     1.7 +# Append OS to package version
     1.8 +if ($^O eq "darwin")
     1.9 +{
    1.10 +    $version .= '-mac';
    1.11 +}
    1.12 +else
    1.13 +{
    1.14 +    $version .= '-' . $^O;
    1.15 +}
    1.16 +
    1.17  my ($filename);
    1.18  $filename = 'sourcemod-' . $version;
    1.19  if ($^O eq "linux")