Skip to content

Commit

Permalink
chore(build): Generate core changelog using tag ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Oct 31, 2016
1 parent 0551425 commit ba67b98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"@types/jquery": "^1.10.31",
"conventional-changelog": "^1.1.0",
"conventional-changelog-cli": "^1.1.1",
"conventional-changelog-ui-router-core": "^1.3.0",
"jasmine-core": "^2.4.1",
"karma": "^1.2.0",
"karma-chrome-launcher": "~0.1.0",
Expand Down
5 changes: 3 additions & 2 deletions scripts/show_changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
let conventionalChangelog = require('conventional-changelog');

let options = {
preset: 'angular'
preset: 'ui-router-core'
};

if(require.main === module) {
Expand All @@ -24,5 +24,6 @@ if(require.main === module) {
}

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

0 comments on commit ba67b98

Please sign in to comment.