mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 344002: l10n nightly builds should automatically pick up version number changes; r=rhelmer
This commit is contained in:
parent
df01f0db44
commit
273897b569
@ -724,6 +724,12 @@ sub packit_l10n {
|
||||
TinderUtils::print_log("Starting l10n builds\n");
|
||||
|
||||
foreach my $wgeturl (keys(%Settings::WGetFiles)) {
|
||||
if (defined($Settings::LocalizationVersionFile)) {
|
||||
my $l10nVersion = read_file("$Settings::TopsrcdirFull/$Settings::LocalizationVersionFile");
|
||||
chomp($l10nVersion);
|
||||
$wgeturl =~ s/%version%/$l10nVersion/g;
|
||||
}
|
||||
|
||||
my $status = TinderUtils::run_shell_command_with_timeout("wget -nv --output-document \"$Settings::WGetFiles{$wgeturl}\" $wgeturl",
|
||||
$Settings::WGetTimeout);
|
||||
if ($status->{exit_value} != 0) {
|
||||
|
@ -43,6 +43,10 @@ $WGetTimeout = 360; # Wget timeout, in seconds
|
||||
$BuildLocalesArgs = ""; # Extra attributes to add to the makefile command
|
||||
# which builds the "installers-<locale>" target.
|
||||
# Typically used to set ZIP_IN and WIN32_INSTALLER_IN
|
||||
# If defined, the version file used in the local l10n build tree to construct
|
||||
# a URL to download for l10n repackaging (makes it so %WGetFiles doesn't need
|
||||
# to be modified every release).
|
||||
# $LocalizationVersionFile = "browser/config/version.txt";
|
||||
|
||||
# Tests
|
||||
$CleanProfile = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user