Fix the incorrect version and release details

Change-Id: Ic550df6d99f1606207ac4ef8e097e03a13c02dfe
This commit is contained in:
pawnesh.kumar 2016-10-08 01:22:20 +05:30
parent 37a47274d6
commit 178232d38b

@ -23,6 +23,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
import pbr.version
import subprocess
import warnings
@ -68,9 +69,12 @@ copyright = '2015, OpenStack'
# built documents.
#
# The short X.Y version.
version = '0.1.0'
senlin_version = pbr.version.VersionInfo('python-senlinclient')
# The full version, including alpha/beta/rc tags.
release = '0.1.0'
release = senlin_version.version_string_with_vcs()
# The short X.Y version.
version = senlin_version.canonical_version_string()
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.