Ignore:
Timestamp:
03/20/09 19:49:46 (3 years ago)
Author:
WillNorris
Message:

Item1338: also deal with sha1 in all the places that we have to deal with md5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BuildContrib/lib/Foswiki/Contrib/Build.pm

    r3223 r3227  
    15741574            my $name = $1; 
    15751575            next if $uploaded{$name}; 
    1576             next if $name =~ /^$to(\.zip|\.tgz|_installer|\.md5)$/; 
     1576            next if $name =~ /^$to(\.zip|\.tgz|_installer|\.md5|\.sha1)$/; 
    15771577            $a =~ /comment="([^"]*)"/; 
    15781578            my $comment = $1; 
     
    16001600 
    16011601    # Upload the standard files 
    1602     foreach my $ext qw(.zip .tgz _installer .md5) { 
     1602    foreach my $ext qw(.zip .tgz _installer .md5 .sha1) { 
    16031603        my $name = $to . $ext; 
    16041604        next if $uploaded{$name}; 
     
    19381938        && /^\w.*\w$/ 
    19391939        && !/^(DEPENDENCIES|MANIFEST|(PRE|POST)INSTALL|build\.pl)$/ 
    1940         && !/$collector->{project}\.(md5|zip|tgz|txt)/ ) 
     1940        && !/$collector->{project}\.(md5|zip|tgz|txt|sha1)/ ) 
    19411941    { 
    19421942        my $n     = $File::Find::name; 
Note: See TracChangeset for help on using the changeset viewer.