From e5f239bbadb7367d283c970086c8185e0ee5a470 Mon Sep 17 00:00:00 2001 From: Katrina Prosise Date: Thu, 16 Jul 2026 07:40:23 -0400 Subject: [PATCH] Add case for version variable being empty While not the cause of the publishing error, which seems to have been a CI issue, this addresses instances where `MP_UPDATE_VERSION` is an empty string.This change leads to the docs still being published if the version variable is empty, defaulting to "latest" for the docker and manifest url replacements in the docs. Viewed rendered docs for intended rendering across multiple cases. This commit has no associated tracking. Signed-off-by: Katrina Prosise --- source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/conf.py b/source/conf.py index 493fe772..27d47aa4 100644 --- a/source/conf.py +++ b/source/conf.py @@ -19,7 +19,8 @@ mp_version = os.environ.get('MP_UPDATE_VERSION') lmp_build = os.environ.get('LMP_BUILD') -if mp_version is None: + +if mp_version is None or mp_version == "": try: git_version = subprocess.check_output(['git', 'describe', '--tags']) except subprocess.CalledProcessError: