mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(changelog.js): pickup breaking changes f/ chore/refactor commits
This commit is contained in:
parent
1429a71474
commit
e3e57fb9cd
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ var getPreviousTag = function() {
|
|||
var generate = function(version, file) {
|
||||
getPreviousTag().then(function(tag) {
|
||||
console.log('Reading git log since', tag);
|
||||
readGitLog('^fix|^feat|Breaks', tag).then(function(commits) {
|
||||
readGitLog('^fix|^feat|BREAKING', tag).then(function(commits) {
|
||||
console.log('Parsed', commits.length, 'commits');
|
||||
console.log('Generating changelog to', file || 'stdout', '(', version, ')');
|
||||
writeChangelog(file ? fs.createWriteStream(file) : process.stdout, commits, version);
|
||||
|
|
|
|||
Loading…
Reference in a new issue