@@ -17,6 +17,9 @@ SUPPORTED_RELEASES = {
"yocto-5.0": "LTS until Apr. 2028",
"yocto-5.3": "Stable Release until Apr. 2026",
}
+CURRENT_ACTIVE_DEV_CODENAME = "Wrynose"
+CURRENT_ACTIVE_DEV_VERSION = "6.0"
+CURRENT_STABLE_BRANCH = "5.3"
repo = Repo(GIT_REPO)
@@ -109,12 +112,12 @@ tags = sorted(get_git_tags(), key=lambda x: x["original_release_date"], reverse=
tags.append(
{
- "series_version": "6.0",
+ "series_version": CURRENT_ACTIVE_DEV_VERSION,
"original_release_date": "",
"latest_release_date": "",
- "release_codename": "Wrynose",
+ "release_codename": CURRENT_ACTIVE_DEV_CODENAME,
"latest_tag": "",
- "releases" : list(e.name for e in filter(lambda e: e.name.startswith("6.0"), repo.tags)),
+ "releases" : list(e.name for e in filter(lambda e: e.name.startswith(CURRENT_ACTIVE_DEV_VERSION), repo.tags)),
"status": "Active Development",
"download": "",
}
To avoid forgetting a spot where the we need to update this information, define it at the top of the file and use it in the code below. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- scripts/release-parser.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)