diff mbox series

[yocto-autobuilder-helper,v2,9/9] scripts/release-parser.py: use latest_tag to get branch name

Message ID 20260123-releases-parser-updates-v2-9-c24c30da807b@bootlin.com
State New
Headers show
Series scripts/release-parser.py: update and move from poky | expand

Commit Message

Antonin Godard Jan. 23, 2026, 8:59 a.m. UTC
On yocto-docs the latest tag seems more accurate to when the
corresponding "branch tag" (i.e. yocto-3.1.33 also has dunfell-23.0.33).
Use this tag to find the correponding branch.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 scripts/release-parser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/scripts/release-parser.py b/scripts/release-parser.py
index 10c7df6..a2b5aca 100755
--- a/scripts/release-parser.py
+++ b/scripts/release-parser.py
@@ -95,7 +95,7 @@  def get_git_tags():
             "series_version": re.sub(r"[^\d\.]", "", tags[0].name),
             "original_release_date": tags[0].commit.committed_datetime.isoformat(),
             "latest_release_date": latest_tag.commit.committed_datetime.isoformat(),
-            "release_codename": convert_name(tags[0]),
+            "release_codename": convert_name(latest_tag),
             "latest_tag": str(max(tag_names)),
             "releases": tag_strings,
             "status": status,