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 <doug@doughellmann.com>
This commit is contained in:
parent
ef97862d43
commit
1c92542f42
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user