diff --git a/scripts/release.js b/scripts/release.js index 4c222cc6ca0..fcc60b9c78e 100755 --- a/scripts/release.js +++ b/scripts/release.js @@ -147,7 +147,7 @@ async function getIncludedPRs(changelog, repo) { `v${currentVersion}..HEAD`, '--pretty=tformat:%s' ]); - const getPrRegExp = /^([^(]+)\s\(#(\d+)\)$/gm; + const getPrRegExp = /^(.+)\s\(#(\d+)\)$/gm; const prs = []; let match; while ((match = getPrRegExp.exec(commits))) {