There was an error while loading. Please reload this page.
1 parent 09a92ea commit f6b9c0aCopy full SHA for f6b9c0a
scripts/publish/changelog.js
@@ -18,13 +18,14 @@ const exec = require('child_process').exec;
18
var changelogStream = fs.createWriteStream('CHANGELOG-delta.md');
19
20
if (process.argv.length < 3) {
21
+ // eslint-disable-next-line no-console
22
console.log('Usage: ./scripts/publish/changelog.js <start-tag>');
23
process.exit(-1);
24
}
25
26
var config = {
27
preset: 'angular',
- releaseCount: 1,
28
+ releaseCount: 1
29
};
30
31
var prependDelta = function() {
@@ -35,6 +36,7 @@ var prependDelta = function() {
35
36
37
cl(config, null, { from: process.argv[2] })
38
.on('error', function(err) {
39
40
console.error('Failed to generate changelog: ' + err);
41
})
42
.pipe(changelogStream)
0 commit comments