Bug 1304474 - Patcher config failed to set pretty version properly in Firefox 50 r=mtabara
authorRail Aliiev <rail@mozilla.com>
Wed, 21 Sep 2016 14:29:05 -0400
changeset 7041 194478c359982b81a7ff0ec120d9551c6c26cac2
parent 7040 368fd704bef76cf71a627526fa86d68ae8bc146b
child 7042 c4a92e1e6e8efb84b1c85a1050b95c0935821868
push id5252
push userraliiev@mozilla.com
push dateWed, 21 Sep 2016 18:42:14 +0000
reviewersmtabara
bugs1304474
Bug 1304474 - Patcher config failed to set pretty version properly in Firefox 50 r=mtabara MozReview-Commit-ID: IvT0ElnuBiy
lib/perl/Release/Versions.pm
--- a/lib/perl/Release/Versions.pm
+++ b/lib/perl/Release/Versions.pm
@@ -7,17 +7,12 @@ our @EXPORT_OK = qw(GetPrettyVersion);
 
 sub GetPrettyVersion {
     my %args = @_;
     my $version = $args{'version'};
     my $prettyVersion = $args{'version'};
     my $product = $args{'product'};
 
     $prettyVersion =~ s/a([0-9]+)$/ Alpha $1/;
-    if ($product eq 'firefox' && $version ge '5') {
-        $prettyVersion =~ s/b([0-9]+)$/ Beta/;
-    } else {
-        $prettyVersion =~ s/b([0-9]+)$/ Beta $1/;
-    }
-    $prettyVersion =~ s/rc([0-9]+)$/ RC $1/;
+    $prettyVersion =~ s/b([0-9]+)$/ Beta $1/;
 
     return $prettyVersion;
 }