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>
This commit is contained in:

committed by
Marge Bot

parent
894e286391
commit
d7a70fbb23
@@ -125,7 +125,7 @@ TEMPLATE = Template(textwrap.dedent("""\
|
|||||||
|
|
||||||
async def gather_commits(version: str) -> str:
|
async def gather_commits(version: str) -> str:
|
||||||
p = await asyncio.create_subprocess_exec(
|
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)
|
stdout=asyncio.subprocess.PIPE)
|
||||||
out, _ = await p.communicate()
|
out, _ = await p.communicate()
|
||||||
assert p.returncode == 0, f"git log didn't work: {version}"
|
assert p.returncode == 0, f"git log didn't work: {version}"
|
||||||
|
Reference in New Issue
Block a user