Skip to content

Commit

Permalink
Merge pull request #1685 from IntelPython/fix-version-logic-in-conf
Browse files Browse the repository at this point in the history
Fix logic to computing value of release Sphinx variable
  • Loading branch information
oleksandr-pavlyk authored May 17, 2024
2 parents ee1ee10 + 24678f2 commit 6639eae
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 6639eae

Please sign in to comment.