mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
build-info: Unreleased 'stable' targets get demoted to 'unstable'
This keeps rbutil from being confused. When a new release happens, all of this automagically fixes itself! Change-Id: I15e3ebb5e274638b9b88f670ce53f950061e9044
This commit is contained in:
parent
35fb94fc9b
commit
b072c60571
1 changed files with 13 additions and 3 deletions
|
|
@ -23,8 +23,7 @@ foreach my $b (&stablebuilds) {
|
|||
my $ver;
|
||||
if(exists($builds{$b}{release})) {
|
||||
$ver = $builds{$b}{release};
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$ver = $publicrelease;
|
||||
}
|
||||
if ($ver <= $publicrelease) {
|
||||
|
|
@ -35,5 +34,16 @@ foreach my $b (&stablebuilds) {
|
|||
print "[status]\n";
|
||||
|
||||
foreach my $b (&allbuilds) {
|
||||
print "$b=$builds{$b}{status}\n";
|
||||
my $ver;
|
||||
my $status = $builds{$b}{status};
|
||||
|
||||
if(exists($builds{$b}{release})) {
|
||||
$ver = $builds{$b}{release};
|
||||
} else {
|
||||
$ver = $publicrelease;
|
||||
}
|
||||
if ($ver > $publicrelease) {
|
||||
$status=2;
|
||||
}
|
||||
print "$b=$status\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue