conventional-changelog-kronos
Advanced tools
Comparing version
// vim: set ts=2 sw=2 sts=2 et : | ||
module.exports = function(grunt) { | ||
@@ -5,0 +4,0 @@ grunt.initConfig({ |
@@ -28,3 +28,4 @@ 'use strict'; | ||
revertCorrespondence: ['header', 'hash'], | ||
mergePattern: /^(?:Merge branch '?[^']+'? into '?[^']+'?|Merge pull request #(\d+) from .*)$/ | ||
mergePattern: /^(?:Merge branch '?[^']+'? into '?[^']+'?|Merge pull request #(\d+) from .*)$/, | ||
mergeCorrespondence: ['pr'] | ||
}; | ||
@@ -54,3 +55,7 @@ | ||
if (commit.type.toLowerCase() === 'feat' || commit.type.toLowerCase() === 'feature') { | ||
if (typeof commit.type === 'string') { | ||
commit.type = commit.type.toLowerCase(); | ||
} | ||
if (commit.type === 'feat' || commit.type === 'feature') { | ||
commit.type = 'Features'; | ||
@@ -57,0 +62,0 @@ } else if (commit.type === 'fix') { |
{ | ||
"name": "conventional-changelog-kronos", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "conventional-changelog kronos preset", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
16628
3.13%281
1.44%