mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 12:28:07 +02:00
bin/gen_release_notes.py: fix commit list command
Fixes:86079447da("scripts: Add a gen_release_notes.py script") Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4069> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4069> (cherry picked from commitd7a70fbb23)
This commit is contained in:
parent
ee7a114d18
commit
8451d02cdd
2 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@
|
|||
"description": "bin/gen_release_notes.py: fix commit list command",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "86079447da1e00d49db0cbff9a102eb4e71e8702"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ TEMPLATE = Template(textwrap.dedent("""\
|
|||
|
||||
async def gather_commits(version: str) -> str:
|
||||
p = await asyncio.create_subprocess_exec(
|
||||
'git', 'log', f'mesa-{version}..', '--grep', r'Closes: \(https\|#\).*',
|
||||
'git', 'log', '--oneline', f'mesa-{version}..', '--grep', r'Closes: \(https\|#\).*',
|
||||
stdout=asyncio.subprocess.PIPE)
|
||||
out, _ = await p.communicate()
|
||||
assert p.returncode == 0, f"git log didn't work: {version}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue