mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 15:00:22 +01:00
bin/gen_release_notes: automatically commit release notes
Cc: mesa-stable
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5833>
(cherry picked from commit ae2d045767)
This commit is contained in:
parent
402e0f1291
commit
33f8d25fa4
3 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ unset VK_ICD_FILENAMES
|
|||
<p>
|
||||
The release notes are completely generated by the
|
||||
<code>bin/gen_release_notes.py</code> 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.
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue