summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2017-11-16 20:53:02 +0100
committerAndreas Jaeger <aj@suse.com>2017-11-16 20:54:05 +0100
commite9cc9b8b50a37082fda051dfd583a1ef26fd7d5e (patch)
tree57c849492afd4b9792411f83f7b7b7a011aed37b
parentab1ffe3c26dfa3a40b34cafea3fa90e22d59c022 (diff)
Remove setting of version/release from releasenotes4.0.0.0b2
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: I68610483c55c915182f81910e4aea650c629d118
Notes
Notes (review): Code-Review+2: Li Yingjun <yingjun.li@kylin-cloud.com> Code-Review+2: Steve McLellan <steven.j.mclellan@gmail.com> Workflow+1: Steve McLellan <steven.j.mclellan@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 30 Nov 2017 05:34:29 +0000 Reviewed-on: https://review.openstack.org/520743 Project: openstack/searchlight-ui Branch: refs/heads/master
-rw-r--r--releasenotes/source/conf.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 12c3c86..0df0b83 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -58,17 +58,11 @@ master_doc = 'index'
58project = u'Searchlight UI Release Notes' 58project = u'Searchlight UI Release Notes'
59copyright = u'2016, OpenStack Foundation' 59copyright = u'2016, OpenStack Foundation'
60 60
61# The version info for the project you're documenting, acts as replacement for 61# Release notes are version independent.
62# |version| and |release|, also used in various other places throughout the
63# built documents.
64#
65# The short X.Y version.
66import pbr.version
67searchlight_ui_version = pbr.version.VersionInfo('searchlight_ui')
68# The full version, including alpha/beta/rc tags. 62# The full version, including alpha/beta/rc tags.
69release = searchlight_ui_version.version_string_with_vcs() 63release = ''
70# The short X.Y version. 64# The short X.Y version.
71version = searchlight_ui_version.canonical_version_string() 65version = ''
72 66
73# The language for content autogenerated by Sphinx. Refer to documentation 67# The language for content autogenerated by Sphinx. Refer to documentation
74# for a list of supported languages. 68# for a list of supported languages.