зеркало из https://github.com/mozilla/pjs.git
Bug 428063, need to support long names with RC for the previous version too (update verify fix for 3.0rc1 -> 3.0rc2), r=bhearsum
This commit is contained in:
Родитель
a4883cf200
Коммит
0c161db50c
|
@ -216,8 +216,9 @@ sub GetOldVersion {
|
|||
|
||||
my $oldVersion = $this->Get(var => 'oldVersion');
|
||||
my $oldLongVersion = $oldVersion;
|
||||
$oldLongVersion =~ s/a([0-9]+)/ Alpha $1/;
|
||||
$oldLongVersion =~ s/b([0-9]+)/ Beta $1/;
|
||||
$oldLongVersion =~ s/a([0-9]+)$/ Alpha $1/;
|
||||
$oldLongVersion =~ s/b([0-9]+)$/ Beta $1/;
|
||||
$oldLongVersion =~ s/rc([0-9]+)$/ RC $1/;
|
||||
|
||||
return ($longName) ? $oldLongVersion : $oldVersion;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче