diff options
authordeepakmourya <>2017-11-17 03:46:32 +0000
committerdeepakmourya <>2017-11-17 03:48:27 +0000
commitd71f6c348a8ee591ebabcdb839812c20a3da805e (patch)
parent8e8fbe92145b7ccdfe32e9310cc40dcc1d148131 (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 Change-Id: I980ad3f6468e0d8d984c27d367bd6546f78ee113
Notes (review): Code-Review+1: Rico Lin <> Code-Review+2: yatin <> Code-Review+1: chao liu <> Code-Review+1: Anusha Ramineni <> Code-Review+1: zhubingbing <> Code-Review+1: Rajat Sharma <> Workflow+1: Spyros Trigazis (strigazi) <> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 21 Nov 2017 10:44:30 +0000 Reviewed-on: Project: openstack/magnum Branch: refs/heads/master
1 files changed, 4 insertions, 7 deletions
diff --git a/releasenotes/source/ b/releasenotes/source/
index 72f7907..beab326 100644
--- a/releasenotes/source/
+++ b/releasenotes/source/
@@ -64,15 +64,12 @@ master_doc = 'index'
64project = u'Magnum Release Notes' 64project = u'Magnum Release Notes'
65copyright = u'2016, Magnum developers' 65copyright = u'2016, Magnum developers'
66 66
67# The version info for the project you're documenting, acts as replacement for 67# Remove setting of version/release
68# |version| and |release|, also used in various other places throughout the
69# built documents.
71# The short X.Y version. 68# The short X.Y version.
72from magnum.version import version_info as magnum_version 69
73version = magnum_version.canonical_version_string() 70version = ''
74# The full version, including alpha/beta/rc tags. 71# The full version, including alpha/beta/rc tags.
75release = magnum_version.version_string_with_vcs() 72release = ''
76 73
77# The language for content autogenerated by Sphinx. Refer to documentation 74# The language for content autogenerated by Sphinx. Refer to documentation
78# for a list of supported languages. 75# for a list of supported languages.