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: I42b51892af9c9484232645bd1c2d70724f4b1a45
Needed-by: I56909152975f731a9d2c21b2825b972195e48ee8
This commit is contained in:
Sean McGinnis 2017-11-16 10:56:10 -06:00
parent 45e3c49ad5
commit cf53015ad6

View File

@ -59,17 +59,9 @@ master_doc = 'index'
project = u'Glance_store Release Notes'
copyright = u'2015, Openstack Foundation'
# 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
glance_store_version = pbr.version.VersionInfo('glance_store')
# The full version, including alpha/beta/rc tags.
release = glance_store_version.version_string_with_vcs()
# The short X.Y version.
version = glance_store_version.canonical_version_string()
# Release notes are unversioned, 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.