external/mesa
Revision | 8451d02cdd209ac9b03405cc5b9d46d07d4771cb (tree) |
---|---|
Time | 2020-03-07 08:40:13 |
Author | Eric Engestrom <eric@enge...> |
Commiter | Eric Engestrom |
bin/gen_release_notes.py: fix commit list command
Fixes: 86079447da1e00d49db0 ("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 commit d7a70fbb2305604ce75b1a0dbcd03e2ebe71f92a)
@@ -49,7 +49,7 @@ | ||
49 | 49 | "description": "bin/gen_release_notes.py: fix commit list command", |
50 | 50 | "nominated": true, |
51 | 51 | "nomination_type": 1, |
52 | - "resolution": 0, | |
52 | + "resolution": 1, | |
53 | 53 | "master_sha": null, |
54 | 54 | "because_sha": "86079447da1e00d49db0cbff9a102eb4e71e8702" |
55 | 55 | }, |
@@ -125,7 +125,7 @@ TEMPLATE = Template(textwrap.dedent("""\ | ||
125 | 125 | |
126 | 126 | async def gather_commits(version: str) -> str: |
127 | 127 | p = await asyncio.create_subprocess_exec( |
128 | - 'git', 'log', f'mesa-{version}..', '--grep', r'Closes: \(https\|#\).*', | |
128 | + 'git', 'log', '--oneline', f'mesa-{version}..', '--grep', r'Closes: \(https\|#\).*', | |
129 | 129 | stdout=asyncio.subprocess.PIPE) |
130 | 130 | out, _ = await p.communicate() |
131 | 131 | assert p.returncode == 0, f"git log didn't work: {version}" |