diff --git a/.pick_status.json b/.pick_status.json index e43f92a4910..414a436dbcc 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -4234,7 +4234,7 @@ "description": "bin/gen_release_notes: automatically commit release notes", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": null }, diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py index 48e216f80cf..63a79b70be1 100755 --- a/bin/gen_release_notes.py +++ b/bin/gen_release_notes.py @@ -25,6 +25,7 @@ import asyncio import datetime import os import pathlib +import subprocess import sys import textwrap import typing @@ -266,6 +267,10 @@ async def main() -> None: except: print(exceptions.text_error_template().render()) + subprocess.run(['git', 'add', final]) + subprocess.run(['git', 'commit', '-m', + f'docs: add release notes for {this_version}']) + if __name__ == "__main__": loop = asyncio.get_event_loop() diff --git a/docs/releasing.html b/docs/releasing.html index 3d529f889ab..43ae7bcaa03 100644 --- a/docs/releasing.html +++ b/docs/releasing.html @@ -331,7 +331,7 @@ unset VK_ICD_FILENAMES
The release notes are completely generated by the
bin/gen_release_notes.py script. Simply run this script before
-bumping the version, and commit the results.
+bumping the version.
The only thing left to do is add the sha256 sums.