diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-02 20:01:55 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-02 20:01:55 +1100 |
commit | b15a51e7ed10c89fc20730ffc0084ff5b4e6a29a (patch) | |
tree | af2f4cb3f87352969383a21087d1e2a7e84c2436 /doc | |
parent | cb18213e1c2e343f72ebcc3d6d55fb17e20e2080 (diff) | |
download | blackbird-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.py | 5 |
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. |