mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
scripts/release-parser.py: merge full list with previous list
On https://www.yoctoproject.org/development/releases, the "Full Release List" can mislead users into thinking the list represents all of the Yocto release, whereas these are only EOL releases. Remove this list and merge everything in "Previous Release List". [YOCTO #15339] Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
This commit is contained in:
parent
384d37a957
commit
abae49b0f6
|
@ -120,14 +120,9 @@ tags.append(
|
||||||
|
|
||||||
tags.reverse()
|
tags.reverse()
|
||||||
|
|
||||||
previous_release_series = 3
|
|
||||||
for tag in tags:
|
for tag in tags:
|
||||||
if tag["status"] == "EOL":
|
if tag["status"] == "EOL":
|
||||||
if previous_release_series > 0:
|
|
||||||
tag["series"] = "previous"
|
tag["series"] = "previous"
|
||||||
previous_release_series -= 1
|
|
||||||
else:
|
|
||||||
tag["series"] = "full"
|
|
||||||
else:
|
else:
|
||||||
tag["series"] = "current"
|
tag["series"] = "current"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user