mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 870868 - Freeze the second number of the UA Gecko version at zero. r=glandium
This commit is contained in:
parent
09083aa9d2
commit
9ae00fda47
@ -71,10 +71,9 @@ if (defined(@TEMPLATE_FILE)) {
|
||||
}
|
||||
}
|
||||
} elsif(defined($opt_uaversion)) {
|
||||
my $uaversion = Moz::Milestone::getMilestoneMajor($milestone) . "." .
|
||||
Moz::Milestone::getMilestoneMinor($milestone);
|
||||
# strip off trailing pre-release indicators
|
||||
$uaversion =~ s/[a-z]+\d*$//;
|
||||
# Only expose the major milestone in the UA string, hide the patch level
|
||||
# (bugs 572659 and 870868).
|
||||
my $uaversion = Moz::Milestone::getMilestoneMajor($milestone) . ".0";
|
||||
print "$uaversion\n";
|
||||
} else {
|
||||
print "$milestone\n";
|
||||
|
@ -71,10 +71,9 @@ if (defined(@TEMPLATE_FILE)) {
|
||||
}
|
||||
}
|
||||
} elsif(defined($opt_uaversion)) {
|
||||
my $uaversion = Moz::Milestone::getMilestoneMajor($milestone) . "." .
|
||||
Moz::Milestone::getMilestoneMinor($milestone);
|
||||
# strip off trailing pre-release indicators
|
||||
$uaversion =~ s/[a-z]+\d*$//;
|
||||
# Only expose the major milestone in the UA string, hide the patch level
|
||||
# (bugs 572659 and 870868).
|
||||
my $uaversion = Moz::Milestone::getMilestoneMajor($milestone) . ".0";
|
||||
print "$uaversion\n";
|
||||
} else {
|
||||
print "$milestone\n";
|
||||
|
Loading…
Reference in New Issue
Block a user