Skip to content

Commit

Permalink
Merge pull request galaxyproject#16765 from mvdbeek/fix_doc_building
Browse files Browse the repository at this point in the history
[23.0] Fix RE for new version scheme in doc/source/conf.versioning.py
  • Loading branch information
nsoranzo authored Sep 29, 2023
2 parents fead133 + 2920429 commit 1888eb7
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 1888eb7

Please sign in to comment.