summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-11-02 20:01:55 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-02 20:01:55 +1100
commitb15a51e7ed10c89fc20730ffc0084ff5b4e6a29a (patch)
treeaf2f4cb3f87352969383a21087d1e2a7e84c2436 /doc
parentcb18213e1c2e343f72ebcc3d6d55fb17e20e2080 (diff)
downloadblackbird-skiboot-b15a51e7ed10c89fc20730ffc0084ff5b4e6a29a.tar.gz
blackbird-skiboot-b15a51e7ed10c89fc20730ffc0084ff5b4e6a29a.zip
doc: use make_version to determine release
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 1fe22e01..fe37fbfa 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -57,9 +57,10 @@ copyright = u'2016, Stewart Smith, IBM, others'
# built documents.
#
# The short X.Y version.
-version = '5.4'
+import subprocess
+version = subprocess.check_output("../make_version.sh | sed -e 's/skiboot-//'", shell=True)
# The full version, including alpha/beta/rc tags.
-release = '5.4.0-rc2'
+release = subprocess.check_output("../make_version.sh | sed -e 's/skiboot-//'", shell=True)
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
OpenPOWER on IntegriCloud