@@ -11,6 +11,8 @@ DISTRO : "5.2"
# represent the latest HEAD revision on the branch). DISTRO_LATEST_TAG should
# always point to an existing tag.
DISTRO_LATEST_TAG : "5.2"
+# The DISTRO_RELEASE_SERIES omits the patch version (so always X.Y).
+DISTRO_RELEASE_SERIES : "5.2"
DISTRO_NAME_NO_CAP : "walnascar"
DISTRO_NAME : "Walnascar"
DISTRO_NAME_NO_CAP_MINUS_ONE : "styhead"
@@ -190,6 +190,7 @@ print("Release series calculated to be %s" % ourseries)
replacements = {
"DISTRO" : ourversion,
"DISTRO_LATEST_TAG": latesttag,
+ "DISTRO_RELEASE_SERIES": release_series[ourseries],
"DISTRO_NAME_NO_CAP" : ourseries,
"DISTRO_NAME" : ourseries.capitalize(),
"DISTRO_NAME_NO_CAP_MINUS_ONE" : previousseries[0],
The DISTRO_RELEASE_SERIES represents the release series in numerical format. So for whinlatter, it will always equal "5.3", no matter what the latest tag or patch version is. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- documentation/poky.yaml.in | 2 ++ documentation/set_versions.py | 1 + 2 files changed, 3 insertions(+)