summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2017-11-16 18:53:50 +0100
committerAndreas Jaeger <aj@suse.com>2017-11-16 18:54:23 +0100
commitf49450df8ecc25ea099c32af21eccb2ed9a9c685 (patch)
tree9702b4a835623a6c67349b9d8c659c281e159af7
parent6a3c826e3b9e17c81c46463702e3095322abab63 (diff)
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: I10847bca5bb081466807355c88a105f4e4c6564e
Notes
Notes (review): Code-Review+2: Doug Hellmann <doug@doughellmann.com> Workflow+1: Doug Hellmann <doug@doughellmann.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 16 Nov 2017 23:54:51 +0000 Reviewed-on: https://review.openstack.org/520671 Project: openstack-dev/pbr 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 085c53e..56f7ecd 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -14,7 +14,6 @@
14 14
15# pbr Release Notes documentation build configuration file 15# pbr Release Notes documentation build configuration file
16 16
17import pbr.version
18 17
19# -- General configuration ------------------------------------------------ 18# -- General configuration ------------------------------------------------
20 19
@@ -29,16 +28,11 @@ extensions = [
29# The master toctree document. 28# The master toctree document.
30master_doc = 'index' 29master_doc = 'index'
31 30
32version_info = pbr.version.VersionInfo('pbr') 31# Release notes are version independent
33
34# The version info for the project you're documenting, acts as replacement for
35# |version| and |release|, also used in various other places throughout the
36# built documents.
37#
38# The short X.Y version. 32# The short X.Y version.
39version = version_info.canonical_version_string() 33version = ''
40# The full version, including alpha/beta/rc tags. 34# The full version, including alpha/beta/rc tags.
41release = version_info.version_string_with_vcs() 35release = ''
42 36
43 37
44# -- Options for HTML output ---------------------------------------------- 38# -- Options for HTML output ----------------------------------------------