Fix the incorrect version and release details
Change-Id: Ic550df6d99f1606207ac4ef8e097e03a13c02dfe
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
# All configuration values have a default; values that are commented out
|
# All configuration values have a default; values that are commented out
|
||||||
# serve to show the default.
|
# serve to show the default.
|
||||||
|
|
||||||
|
import pbr.version
|
||||||
import subprocess
|
import subprocess
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
@@ -68,9 +69,12 @@ copyright = '2015, OpenStack'
|
|||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '0.1.0'
|
|
||||||
|
senlin_version = pbr.version.VersionInfo('python-senlinclient')
|
||||||
# The full version, including alpha/beta/rc tags.
|
# 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
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
Reference in New Issue
Block a user