post_version.py: stop using non-existent functions and fix commit message
authorEric Engestrom <eric@engestrom.ch>
Tue, 23 Jun 2020 00:22:58 +0000 (02:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 21:51:24 +0000 (21:51 +0000)
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928>

bin/post_version.py

index 67eec783e49cc0bb6084d3772f8ca98cff15a722..febe531eec553afa9d045c7dafdbf2725eafa277 100755 (executable)
@@ -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}'])