Fix release notes gate failure

This fix gate failure after 70a15588ac.

Closes-Bug: #1640383

Change-Id: Icdfe2fa68ec1ee8a070f2a5cdce8f56de53f8c40
This commit is contained in:
ChangBo Guo(gcb) 2016-11-09 14:30:03 +08:00
parent c04b95bbe4
commit ec62e6270d
1 changed files with 3 additions and 4 deletions

View File

@ -63,11 +63,10 @@ copyright = u'2016, automaton Developers'
# built documents.
#
# The short X.Y version.
from automaton.version import version_info as automaton_version
# The full version, including alpha/beta/rc tags.
release = automaton_version.version_string_with_vcs()
import pkg_resources
release = pkg_resources.get_distribution('automaton').version
# The short X.Y version.
version = automaton_version.canonical_version_string()
version = release
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.