зеркало из https://github.com/mozilla/pjs.git
updating milestone.pl to allow for 1.1a, changes to 1.1a installer.
bug 149142, r=jj, sr/a=leaf, asasaki checking in as cltbld.
This commit is contained in:
Родитель
116a46aa27
Коммит
2787f52b17
|
@ -77,22 +77,10 @@ $MILESTONE_NUM = $MILESTONE;
|
|||
#
|
||||
# Split the milestone into parts (major, minor, minor2, minor3, ...)
|
||||
#
|
||||
if ($MILESTONE =~ /\D$/) { # for things like 0.9.9+, strip off the +
|
||||
$MILESTONE_QUALIFIER = $MILESTONE;
|
||||
$MILESTONE_QUALIFIER =~ s/.*\d//;
|
||||
if ($MILESTONE =~ /\+$/) { # for things like 0.9.9+, strip off the +
|
||||
$MILESTONE_QUALIFIER = "+";
|
||||
$MILESTONE_NUM =~ s/\D*$//;
|
||||
}
|
||||
if ($MILESTONE_NUM =~ /[^0-9\.]/) {
|
||||
die(<<END
|
||||
Illegal milestone $MILESTONE in $MILESTONE_FILE!
|
||||
A proper milestone would look like
|
||||
|
||||
x.x.x
|
||||
x.x.x.x
|
||||
x.x.x+
|
||||
END
|
||||
);
|
||||
}
|
||||
@MILESTONE_PARTS = split(/\./, $MILESTONE_NUM);
|
||||
|
||||
if ($opt_debug) {
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
#--------------------------------------------------------
|
||||
|
||||
|
||||
1.0.0+
|
||||
1.1a
|
||||
|
|
|
@ -163,6 +163,6 @@ Target Document=:Mozilla Folder:Mozilla Installer
|
|||
[LegacyCheck0]
|
||||
Filename=Mozilla
|
||||
Subfolder=Mozilla Folder
|
||||
Version=1.0.0
|
||||
Version=1.1.0a.0
|
||||
; *** LOCALIZE ME BABY ***
|
||||
Message=An older installation of Mozilla was detected. Please choose to delete the directory contents of your current Mozilla installation by hitting the 'Delete' button. Alternatively, please hit the 'Cancel' button and choose a different destination directory.
|
||||
|
|
Загрузка…
Ссылка в новой задаче