Skip to content

Commit

Permalink
chore: remove unneeded lazy from regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jun 14, 2024
1 parent b1eb84f commit 16b20b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function main() {
currentPR?.body.replace(/## 👉 Changelog[\s\S]*$/, '') || `> ${newVersion} is the next ${bumpType} release.\n>\n> **Timetable**: to be announced.`,
'## 👉 Changelog',
changelog
.replace(/^## v.*?\n/, '')
.replace(/^## v.*\n/, '')
.replace(`...${releaseBranch}`, `...v${newVersion}`)
.replace(/### Contributors[\s\S]*$/, ''),
'### ❤️ Contributors',
Expand Down

0 comments on commit 16b20b4

Please sign in to comment.