From 0c22bc22573626dae0f81b976b56e82b265f77a2 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Wed, 31 Aug 2016 14:10:27 -0700 Subject: [PATCH] Include correct version in install-guide Change-Id: I8f9de7a824aa327d566c821ec05f97d0bc8931e9 --- install-guide/source/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install-guide/source/conf.py b/install-guide/source/conf.py index bcf546c9..93840fa5 100644 --- a/install-guide/source/conf.py +++ b/install-guide/source/conf.py @@ -22,6 +22,7 @@ import os # import sys +from swift import __version__ import openstackdocstheme @@ -64,9 +65,9 @@ copyright = u'2016, OpenStack contributors' # built documents. # # The short X.Y version. -version = '0.1' +version = __version__.rsplit('.', 1)[0] # The full version, including alpha/beta/rc tags. -release = '0.1' +release = __version__ # A few variables have to be set for the log-a-bug feature. # giturl: The location of conf.py on Git. Must be set manually.