We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af4e3dd commit 243b8a0Copy full SHA for 243b8a0
doc/conf.py
@@ -12,6 +12,7 @@
12
#
13
import os
14
import sys
15
+import re
16
sys.path.insert(0, os.path.abspath('../pytition'))
17
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "_ext")))
18
@@ -22,7 +23,8 @@
22
23
author = 'Yann Sionneau'
24
25
# The full version, including alpha/beta/rc tags
-release = '2.0'
26
+release = re.sub('^v', '', os.popen('git describe --tags').read().strip())
27
+version = release
28
29
30
# -- General configuration ---------------------------------------------------
0 commit comments