Skip to content

Commit 3a95480

Browse files
committed
conf.py: also include 'rc' versions for sphinx versioning
1 parent d8d36a4 commit 3a95480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
)
118118
if git_describe.returncode == 0:
119119
git_version = re.search(
120-
r"^\d(?:\.\d){0,2}(?:\-(?:alpha|beta)\.\d+){0,1}",
120+
r"^\d(?:\.\d){0,2}(?:\-(?:alpha|beta|rc)\.\d+){0,1}",
121121
str(git_describe.stdout)
122122
)
123123
if git_version:

0 commit comments

Comments
 (0)