set_versions: Add a getlatest command to obtain the latest release branch name
PATCH 1/1 set_versions: Add a getlatest command to obtain the latest release branch name
This will allow the autobuilder-helper run-docs-build script to obtain the latest release name.
Signed-off-by Richard Purdie <[email protected]>
--- documentation/set_versions.py | 5 +++++ 1 file changed, 5 insertions(+)
documentation/set_versions.py +5 -0
@@ -27,6 +27,11 @@ activereleases = ["kirkstone", "honister", "hardknott", "dunfell"] devbranch = "langdale" ltsseries = ["kirkstone", "dunfell"] +# used by run-docs-builds to get the default page +if ourversion == "getlatest": + print(activereleases[0]) + sys.exit(0) + release_series = collections.OrderedDict() release_series["langdale"] = "4.1" release_series["kirkstone"] = "4.0"
Signature · 1 line
2.32.0