Skip to content

Commit

Permalink
Accomodate new version scheme in doc/source/conf.versioning.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Sep 29, 2023
1 parent 98da565 commit 2920429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/conf.versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
if Version(_ver) >= MIN_DOC_VERSION:
simpleversioning_versions.append({"id": f"release_{_ver}", "name": _ver})

if re.fullmatch(r"release_\d{2}\.\d{2}", TARGET_GIT_BRANCH):
if re.fullmatch(r"release_\d{2}\.\d{1,2}", TARGET_GIT_BRANCH):
if _stable:
# The current stable release will go here but fail the next conditional, avoiding either banner.
if TARGET_GIT_BRANCH != f"release_{_stable}":
Expand Down

0 comments on commit 2920429

Please sign in to comment.