docs: update release instructions (#20210)

This commit is contained in:
Ville Brofeldt
2022-05-27 16:09:12 +03:00
committed by GitHub
parent 653cf773f7
commit 0d2e42229e
3 changed files with 180 additions and 33 deletions

View File

@@ -164,6 +164,12 @@ class GitChangeLog:
return False
def _get_changelog_version_head(self) -> str:
if not len(self._logs):
print(
f"No changes found between revisions. "
f"Make sure your branch is up to date."
)
sys.exit(1)
return f"### {self._version} ({self._logs[0].time})"
def _parse_change_log(