Remove setting of version/release from releasenotes

Release notes are version independent, so remove version/release
values. We've found that 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.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html

Change-Id: I8ff60cc3793aea723a77d1b47a0f68c6c5c6ec62
This commit is contained in:
rajat29 2017-11-17 10:11:35 +05:30
parent bd1887ff44
commit c1f501e82c
1 changed files with 4 additions and 3 deletions

View File

@ -11,7 +11,6 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import pbr.version
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@ -41,9 +40,11 @@ master_doc = 'index'
project = u'karbor'
copyright = u'2016, Karbor Developers'
karbor_version = pbr.version.VersionInfo('karbor')
# Release notes are version independent.
# The short X.Y version.
version = karbor_version.canonical_version_string()
version = ''
# The full version, including alpha/beta/rc tags.
release = ''
# openstackdocstheme options
repository_name = 'openstack/karbor'