Skip to content

Commit ba67b98

Browse files
chore(build): Generate core changelog using tag ranges
1 parent 0551425 commit ba67b98

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"@types/jquery": "^1.10.31",
5858
"conventional-changelog": "^1.1.0",
5959
"conventional-changelog-cli": "^1.1.1",
60+
"conventional-changelog-ui-router-core": "^1.3.0",
6061
"jasmine-core": "^2.4.1",
6162
"karma": "^1.2.0",
6263
"karma-chrome-launcher": "~0.1.0",

scripts/show_changelog.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
let conventionalChangelog = require('conventional-changelog');
44

55
let options = {
6-
preset: 'angular'
6+
preset: 'ui-router-core'
77
};
88

99
if(require.main === module) {
@@ -24,5 +24,6 @@ if(require.main === module) {
2424
}
2525

2626
function showChangelog(context, gitOpts) {
27-
conventionalChangelog(options, context, gitOpts).pipe(process.stdout);
27+
var writerOpts = { doFlush: true, generateOn: function() { return false; } };
28+
conventionalChangelog(options, context, gitOpts, undefined, writerOpts).pipe(process.stdout);
2829
}

0 commit comments

Comments
 (0)