support/buildbot/package.pl
changeset 750 506985824237
parent 732 4c2e6bd4d2e8
child 762 0f43287b3d14
     1.1 --- a/support/buildbot/package.pl	Tue Apr 26 07:47:12 2011 -0400
     1.2 +++ b/support/buildbot/package.pl	Sat Apr 30 22:41:54 2011 -0500
     1.3 @@ -5,9 +5,10 @@
     1.4  use File::Basename;
     1.5  use Net::FTP;
     1.6  
     1.7 -my ($ftp_file, $ftp_host, $ftp_user, $ftp_pass, $ftp_path);
     1.8 +my ($ftp_file, $ftp_host, $ftp_user, $ftp_pass, $ftp_path, $tag);
     1.9  
    1.10  $ftp_file = shift;
    1.11 +$tag = shift;
    1.12  
    1.13  open(FTP, $ftp_file) or die "Unable to read FTP config file $ftp_file: $!\n";
    1.14  $ftp_host = <FTP>;
    1.15 @@ -49,6 +50,11 @@
    1.16      $version .= '-' . $^O;
    1.17  }
    1.18  
    1.19 +if (defined $tag)
    1.20 +{
    1.21 +    $version .= '-' . $tag;
    1.22 +}
    1.23 +
    1.24  my ($filename);
    1.25  $filename = 'mmsource-' . $version;
    1.26  if ($^O eq "linux")