summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@huawei.com>2017-11-16 10:54:34 -0600
committerSean McGinnis <sean.mcginnis@huawei.com>2017-11-16 10:54:54 -0600
commit3656f86b9781124ae9d2422f1b977febdc8651a2 (patch)
treedb85faaa9fd70eff1c549908f9d5c129ae006968 /releasenotes
parent9915f275ca0ba82a13a8b2e3ba1a67481162c780 (diff)
downloadpython-glanceclient-3656f86b9781124ae9d2422f1b977febdc8651a2.tar.gz
Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release values. We've found that most projects now require the service package to be installed in order to build release notes, and this is entirely due to the current convention of pulling in the version information. Release notes should not need installation in order to build, so this unnecessary version setting needs to be removed. Change-Id: I9c1154453f5a5263771e42b0eb5ebdc3a78ffc16 Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/source/conf.py14
1 files changed, 3 insertions, 11 deletions
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 0e270c7..75aab4d 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -59,17 +59,9 @@ master_doc = 'index'
project = u'glanceclient Release Notes'
copyright = u'2016, Glance Developers'
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short X.Y version.
-import pbr.version
-# The full version, including alpha/beta/rc tags.
-glance_version = pbr.version.VersionInfo('glanceclient')
-release = glance_version.version_string_with_vcs()
-# The short X.Y version.
-version = glance_version.canonical_version_string()
+# Release notes are not versioned, so we don't need to set version or release
+version = ''
+release = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.