diff --git a/scripts/release.js b/scripts/release.js index 1b3e17449b4..4c222cc6ca0 100755 --- a/scripts/release.js +++ b/scripts/release.js @@ -158,7 +158,7 @@ async function getIncludedPRs(changelog, repo) { prs.map(async ({ pr, text }) => { const { data } = await repo.getPullRequest(pr); const bodyWithoutComments = data.body.replace(//g, ''); - const closedIssuesRegexp = /(fix(es|ed)?|(close|resolve)[sd]?) #(\d+)/g; + const closedIssuesRegexp = /([Ff]ix(es|ed)?|([Cc]lose|[Rr]esolve)[sd]?) #(\d+)/g; const closed = []; while ((match = closedIssuesRegexp.exec(bodyWithoutComments))) { closed.push(match[4]);