Bug 354166: add the ability to specify different appv/extv values for the same release. r=rhelmer

git-svn-id: svn://10.0.0.236/trunk@212318 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
preed%mozilla.com
2006-09-25 19:32:54 +00:00
parent 20037a4b2e
commit 44cde0a83d

View File

@@ -511,7 +511,8 @@ sub CreateUpdateGraph
platform => $p,
locale => $l,
build_id => $rlp_config->{$p}->{'build_id'},
version => $rl_config->{'version'} );
version => $rl_config->{'version'},
extensionVersion => $rl_config->{'extension-version'} );
}
}
} # for my $side ("from", "to")
@@ -531,6 +532,7 @@ sub GatherCompleteData
my $release = $args{'release'};
my $build_id = $args{'build_id'};
my $version = $args{'version'};
my $extensionVersion = $args{'extensionVersion'};
my $config = $args{'config'};
@@ -571,7 +573,14 @@ sub GatherCompleteData
# and extv, the version needs to NOT have these -google/-yahoo identifiers.
my $numericVersion = $version;
$numericVersion =~ s/\-.*$//;
$node->{'appv'} = $node->{'extv'} = $numericVersion;
$node->{'appv'} = $numericVersion;
# Most of the time, the extv should be the same as the appv; sometimes,
# however, this won't be the case. This adds support to allow you to specify
# an extv that is different from the appv.
$node->{'extv'} = defined($extensionVersion) ?
$extensionVersion : $numericVersion;
#chdir($startdir);