lerna-changelog
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -64,3 +64,3 @@ "use strict"; | ||
var commitsByCategory = this.getCommitsByCategory(commitInfo); | ||
var fixesRegex = /Fix(es)? [T#](\d+)/i; | ||
var fixesRegex = /(fix|close|resolve)(e?s|e?d)? [T#](\d+)/i; | ||
@@ -126,3 +126,3 @@ var date = new Date().toISOString(); | ||
if (commit.title.match(fixesRegex)) { | ||
commit.title = commit.title.replace(fixesRegex, "Fixes [#$2](" + _this.remote.getBaseIssueUrl() + "$2)"); | ||
commit.title = commit.title.replace(fixesRegex, "Closes [#$3](" + _this.remote.getBaseIssueUrl() + "$3)"); | ||
} | ||
@@ -129,0 +129,0 @@ |
{ | ||
"name": "lerna-changelog", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Generate a changelog for a lerna monorepo", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20734