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:
Antonin Godard 2025-01-23 17:33:16 +01:00 committed by Michael Halstead
parent 384d37a957
commit abae49b0f6

View File

@ -120,14 +120,9 @@ tags.append(
tags.reverse()
previous_release_series = 3
for tag in tags:
if tag["status"] == "EOL":
if previous_release_series > 0:
tag["series"] = "previous"
previous_release_series -= 1
else:
tag["series"] = "full"
tag["series"] = "previous"
else:
tag["series"] = "current"