Skip to content

Commit

Permalink
Update version automatically in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sklam committed Mar 14, 2019
1 parent e67fefb commit 2159bf7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
import llvmlite
# The short X.Y version.
version = '0.27.0'
version = llvmlite.__version__.split('-', 1)[0]
# The full version, including alpha/beta/rc tags.
release = '0.27.0'
release = llvmlite.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit 2159bf7

Please sign in to comment.