From 931c5a13b37e41493c3643f1184cd6691ac8bc47 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Tue, 5 Jul 2016 16:08:37 -0700 Subject: scripts: Update changelog generator to support Fixes URLs --- scripts/changelog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/changelog.js b/scripts/changelog.js index 35685ffc6..b4a9d55fd 100644 --- a/scripts/changelog.js +++ b/scripts/changelog.js @@ -84,7 +84,7 @@ function main () { } else if (m = line.match(/^Credit: @(.*)/)) { if (!commit.credit) commit.credit = [] commit.credit.push(m[1]) - } else if (m = line.match(/^Fixes: #(.*)/)) { + } else if (m = line.match(/^Fixes: (?:#|https:[/][/]github.com[/]npm[/]npm[/]issues[/])(.*)/)) { commit.fixes = m[1] } else if (m = line.match(/^Reviewed-By: @(.*)/)) { commit.reviewed = m[1] -- cgit v1.2.3