From f8f4c317fb0c5825da64edc3c24733e276326fe2 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 5 Mar 2020 23:09:45 +0100 Subject: bin/gen_release_notes.py: fix commit list command Fixes: 86079447da1e00d49db0 ("scripts: Add a gen_release_notes.py script") Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker Tested-by: Marge Bot Part-of: (cherry picked from commit d7a70fbb2305604ce75b1a0dbcd03e2ebe71f92a) --- .pick_status.json | 2 +- bin/gen_release_notes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 1d77bccbe90..7a5bf0ea606 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -283,7 +283,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" }, diff --git a/bin/gen_release_notes.py b/bin/gen_release_notes.py index f7b9237071c..09344c419ea 100755 --- a/bin/gen_release_notes.py +++ b/bin/gen_release_notes.py @@ -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}" -- cgit v1.2.3