mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-30 05:45:44 +08:00
chore(changelog.js): pickup breaking changes f/ chore/refactor commits
This commit is contained in:
@@ -192,7 +192,7 @@ var getPreviousTag = function() {
|
|||||||
var generate = function(version, file) {
|
var generate = function(version, file) {
|
||||||
getPreviousTag().then(function(tag) {
|
getPreviousTag().then(function(tag) {
|
||||||
console.log('Reading git log since', 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('Parsed', commits.length, 'commits');
|
||||||
console.log('Generating changelog to', file || 'stdout', '(', version, ')');
|
console.log('Generating changelog to', file || 'stdout', '(', version, ')');
|
||||||
writeChangelog(file ? fs.createWriteStream(file) : process.stdout, commits, version);
|
writeChangelog(file ? fs.createWriteStream(file) : process.stdout, commits, version);
|
||||||
|
|||||||
Reference in New Issue
Block a user