Skip to content

Commit 0425763

Browse files
committed
Match last PR mention in commit message for release notes
1 parent 8218d5d commit 0425763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const fallbackSection = 'Misc Changes'
99

1010
// --------------------------------------------------
1111

12-
const prNumberRegex = /\(#([-0-9]+)\)/
12+
const prNumberRegex = /\(#([-0-9]+)\)$/
1313

1414
const getCommitPullRequest = async (commit, github) => {
1515
const match = prNumberRegex.exec(commit.title)

0 commit comments

Comments
 (0)