Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
bug 553052: update-verify-bump.pl shouldn't use /releases/ in major u…
Browse files Browse the repository at this point in the history
…pdate mode. r=bhearsum
  • Loading branch information
Rail Aliev committed Apr 7, 2010
1 parent e7c79a9 commit 26698ec
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions release/update-verify-bump.pl
Expand Up @@ -255,12 +255,19 @@ sub BumpVerifyConfig {
}

# add data for latest release
my $from = '/' . $product . '/releases/' . $oldVersion . '/' . $ftpOsname .
'/%locale%/' . $releaseFile;
if ( $majorMode ) {
my $candidatesDirStripped = $candidatesDir;
$candidatesDirStripped =~ s!/$!!; # Remove trailing slash
$candidatesDirStripped =~ s!^/.*?/$product/!/$product/!; # Remove FTP prefix
$from = $candidatesDirStripped . '/' . $ftpOsname . '/%locale%/' . $releaseFile;
}
my @data = ("# $oldVersion $osname\n",
'release="' . $oldAppVersion . '" product="' . $brand .
'" platform="' .$buildTarget . '" build_id="' . $buildID .
'" locales="' . join(' ', sort(@locales)) . '" channel="' .
$channel . '" from="/' . $product . '/releases/' .
$oldVersion . '/' . $ftpOsname . '/%locale%/' . $releaseFile .
$channel . '" from="' . $from .
'" aus_server="' . $ausServerUrl . '" ftp_server="' .
$stagingServer . '/pub/mozilla.org" to="/' .
$product . '/nightly/' . $version . '-candidates/build' .
Expand Down

0 comments on commit 26698ec

Please sign in to comment.