Skip to content

Commit

Permalink
fixup! chore(scripts/release): add notes to PR body
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Oct 23, 2024
1 parent 730b025 commit bda1fe8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/release/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,7 @@ const main = async () => {

console.log(chalk`{blue Creating pull request...}`);
const title = `Release ${thisVersion}`;
const body = [
"(This release was generated by the project's release script.)",
'',
...notes,
].join('\n');
const body = `(This release was generated by the project's release script.)\n\n${notes}`;
await commitAndPR(title, {
pr: { title, body },
wait: versionBump !== 'patch',
Expand Down

0 comments on commit bda1fe8

Please sign in to comment.