From a28a08981499316378803b4dc3e84b517837e47b Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 23 Jun 2020 02:22:58 +0200 Subject: [PATCH] post_version.py: stop using non-existent functions and fix commit message Signed-off-by: Eric Engestrom Part-of: --- bin/post_version.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/post_version.py b/bin/post_version.py index 67eec783e49..febe531eec5 100755 --- a/bin/post_version.py +++ b/bin/post_version.py @@ -84,10 +84,9 @@ def main() -> None: update_calendar(args.version) done = 'update calendar' - if not is_release_candidate(args.version): - update_index(args.version) + if 'rc' not in args.version: update_release_notes(args.version) - done += ', add news item, and link releases notes' + done += ' and link releases notes' subprocess.run(['git', 'commit', '-m', f'docs: {done} for {args.version}']) -- 2.30.2