diff --git a/scripts/release/index.ts b/scripts/release/index.ts index de204a60441ea7..c73e0181ff4c19 100644 --- a/scripts/release/index.ts +++ b/scripts/release/index.ts @@ -128,12 +128,16 @@ const main = async () => { await addNotes(notes, versionBump, lastVersion); console.log(chalk`{blue Creating pull request...}`); - const message = [ - `Release ${thisVersion}`, + const title = `Release ${thisVersion}`; + const body = [ + "(This release was generated by the project's release script.)", '', - "This release was generated by the project's release script.", + ...notes, ].join('\n'); - await commitAndPR(message, { wait: versionBump !== 'patch' }); + await commitAndPR(title, { + pr: { title, body }, + wait: versionBump !== 'patch', + }); console.log(chalk`{blue {bold Done!}}`); };