Skip to content

Commit

Permalink
Improve issue comment RegExp
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Sep 6, 2022
1 parent b265c40 commit 1020537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.js
Expand Up @@ -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))) {
Expand Down

0 comments on commit 1020537

Please sign in to comment.