Merge "add reno semver-next to the list-changes output"

This commit is contained in:
Zuul 2020-09-04 18:59:12 +00:00 committed by Gerrit Code Review
commit ffe6bde417
2 changed files with 12 additions and 1 deletions

View File

@ -428,6 +428,17 @@ def main():
except subprocess.CalledProcessError as e:
print('WARNING: Could not run git describe: %s' % e)
header('reno SemVer suggestion')
print('\n(This may produce an old tag version if no release notes were added.\n')
print('\nreno -q semver-next\n')
try:
subprocess.check_call(
['reno', '-q', 'semver-next'],
cwd=os.path.join(workdir, project.repo.name),
)
except subprocess.CalledProcessError as e:
print('WARNING: Could not run reno semver-next: %s' % e)
git_show(
workdir=workdir,
repo=project.repo.name,

View File

@ -25,7 +25,7 @@ tenacity>=6.1.0
# For release notes generation.
Jinja2>=2.6 # BSD License (3 clause)
parawrap
reno>=2.0.0
reno>=3.2.0
sphinx>=1.6.2 # BSD
pyfiglet>=0.7.5