Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1eb84f commit 16b20b4Copy full SHA for 16b20b4
scripts/update-changelog.ts
@@ -42,7 +42,7 @@ async function main() {
42
currentPR?.body.replace(/## 👉 Changelog[\s\S]*$/, '') || `> ${newVersion} is the next ${bumpType} release.\n>\n> **Timetable**: to be announced.`,
43
'## 👉 Changelog',
44
changelog
45
- .replace(/^## v.*?\n/, '')
+ .replace(/^## v.*\n/, '')
46
.replace(`...${releaseBranch}`, `...v${newVersion}`)
47
.replace(/### ❤️ Contributors[\s\S]*$/, ''),
48
'### ❤️ Contributors',
0 commit comments