From ec62e6270dba8f3d6a60600876be8fd99f7c5b08 Mon Sep 17 00:00:00 2001 From: "ChangBo Guo(gcb)" Date: Wed, 9 Nov 2016 14:30:03 +0800 Subject: [PATCH] Fix release notes gate failure This fix gate failure after 70a15588ac6bf2ffa4ec6f95b46ed9fde6a3df52. Closes-Bug: #1640383 Change-Id: Icdfe2fa68ec1ee8a070f2a5cdce8f56de53f8c40 --- releasenotes/source/conf.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index bfa5d30..a533706 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -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.