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:
parent
f5353e01f9
commit
a28a089814
|
@ -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}'])
|
||||
|
|
Loading…
Reference in New Issue