Skip to content

Commit 24678f2

Browse files
Fix logic to computing value of release Sphinx variable
Presently the code was not ready to version to not have "+" separator in the version string. This change make the code more robust.
1 parent ee1ee10 commit 24678f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/doc_sources/conf.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ author = "Intel Corp."
2121

2222
version = dpctl.__version__.strip(".dirty")
2323
# The full version, including alpha/beta/rc tags
24-
release, _ = dpctl.__version__.strip(".dirty").split("+")
24+
release = dpctl.__version__.strip(".dirty").split("+")[0]
2525

2626
# -- General configuration ---------------------------------------------------
2727
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

0 commit comments

Comments
 (0)