add reno semver-next
to the list-changes output
Use `reno semver-next` to check the proposed version against the types of changes described in the release notes. Change-Id: I9ac52ff524440670366ebeceb11dc04a446e876c Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
2ffb2ce6a2
commit
6fe3672660
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user