Skip to content

Commit

Permalink
Fix logic to computing value of release Sphinx variable
Browse files Browse the repository at this point in the history
Presently the code was not ready to version to not have "+"
separator in the version string. This change make the code
more robust.
  • Loading branch information
oleksandr-pavlyk committed May 17, 2024
1 parent ee1ee10 commit 24678f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/doc_sources/conf.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ author = "Intel Corp."

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

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

0 comments on commit 24678f2

Please sign in to comment.