From 1c92542f423c58897e5a0af300d248a533e86919 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 27 Apr 2018 17:27:58 -0400 Subject: [PATCH] ignore the reno cache when building the set of release notes For list-changes and the announcement emails we want to ignore any local cache file created when a package was built and scan the git repository again. The cache file is meant to be used by the consumer of the package being released, but we have the git repository so we don't need it and ignoring it will ensure we have the correct notes in any announcements. Change-Id: I047f7e455a1d238d12cf94a60cd0d44f44406a3d Signed-off-by: Doug Hellmann --- openstack_releases/release_notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_releases/release_notes.py b/openstack_releases/release_notes.py index bac7a742b9..d3ed2e2d56 100644 --- a/openstack_releases/release_notes.py +++ b/openstack_releases/release_notes.py @@ -340,7 +340,7 @@ def generate_release_notes(repo, repo_path, if is_stable and series: branch = 'origin/stable/%s' % series cfg.override(branch=branch) - ldr = loader.Loader(conf=cfg) + ldr = loader.Loader(conf=cfg, ignore_cache=True) if end_revision in ldr.versions: rst_notes = formatter.format_report( loader=ldr,