summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2020-06-23 02:22:58 +0200
committerMarge Bot <eric+marge@anholt.net>2020-07-22 21:51:24 +0000
commita28a08981499316378803b4dc3e84b517837e47b (patch)
tree54a312c35815989e2dff3f72dda638b949352b62 /bin
parentf5353e01f95fbc5bdbd770c4f9f1ea6cedc89e17 (diff)
downloadmesa-a28a08981499316378803b4dc3e84b517837e47b.tar.gz
mesa-a28a08981499316378803b4dc3e84b517837e47b.tar.bz2
mesa-a28a08981499316378803b4dc3e84b517837e47b.zip
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>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/post_version.py5
1 files 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}'])