From d7643e966b7cfaf8f5c732f1f020b0674db1def9 Mon Sep 17 00:00:00 2001 From: Ilan Gold Date: Wed, 4 Sep 2024 15:08:02 +0200 Subject: [PATCH] (fix): regex for release notes on docs build (#1664) --- docs/extensions/release_notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extensions/release_notes.py b/docs/extensions/release_notes.py index f6166c748..a0421e919 100644 --- a/docs/extensions/release_notes.py +++ b/docs/extensions/release_notes.py @@ -17,7 +17,7 @@ from sphinx.application import Sphinx -FULL_VERSION_RE = re.compile(r"^(\d+)\.(\d+)\.(\d+)(?:\.dev.*)?$") +FULL_VERSION_RE = re.compile(r"^(\d+)\.(\d+)\.(\d+)(?:(\.dev.*)|(rc.*))?$") class ReleaseNotes(SphinxDirective):