Fix issue with release/version strings in doc build config
which was causing doc builds to fail with an error.
Fixes bug
1115269
Change-Id: Ia02d52f502d808d758a541e84056d5ac94aff8b8
Signed-off-by: Steven Hardy <shardy@redhat.com>
from heat import version as heat_version
# The full version, including alpha/beta/rc tags.
-release = heat_version.version_string()
+release = heat_version.version_info.release_string()
# The short X.Y version
-version = heat_version.canonical_version_string()
+version = heat_version.version_info.version_string()
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.