CI: re-use the commit message if possible

This commit is contained in:
liushuyu 2022-10-13 01:56:38 -06:00
parent 203c7786fe
commit 429d539cdf
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437

View File

@ -60,7 +60,7 @@ async function mergeChanges(branch, execa) {
]);
await execa("git", ["add", "org.yuzu_emu.yuzu.json"]);
// amend the commit to include the version change
const p1 = execa("git", ["commit", "--amend"]);
const p1 = execa("git", ["commit", "--amend", "-C", "HEAD"]);
p1.stdout.pipe(process.stdout);
await p1;
} catch (err) {