Skip to content

Commit

Permalink
Match last PR mention in commit message for release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed May 7, 2021
1 parent 8218d5d commit 0425763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const fallbackSection = 'Misc Changes'

// --------------------------------------------------

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

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

0 comments on commit 0425763

Please sign in to comment.