2017-05-23 18:44:31 +02:00
|
|
|
/*
|
|
|
|
* > Changelog
|
|
|
|
*/
|
|
|
|
|
2017-05-24 00:46:34 +02:00
|
|
|
import * as gulp from 'gulp';
|
|
|
|
import * as gulpConventionalChangelog from 'gulp-conventional-changelog';
|
2017-05-23 18:44:31 +02:00
|
|
|
|
2017-05-24 00:46:34 +02:00
|
|
|
export var task = gulp.task('changelog', () => {
|
|
|
|
return gulp.src('CHANGELOG.md')
|
|
|
|
.pipe(gulpConventionalChangelog({
|
2017-05-23 18:44:31 +02:00
|
|
|
preset: 'angular',
|
|
|
|
releaseCount: 0
|
|
|
|
}))
|
2017-05-24 00:46:34 +02:00
|
|
|
.pipe(gulp.dest('./'));
|
2017-05-23 18:44:31 +02:00
|
|
|
});
|