post_version.py: stop using non-existent functions and fix commit message

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928>
This commit is contained in:
Eric Engestrom 2020-06-23 02:22:58 +02:00 committed by Marge Bot
parent f5353e01f9
commit a28a089814
1 changed files with 2 additions and 3 deletions

View File

@ -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}'])