2017-02-04 14:56:29 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
/*
|
|
|
|
* > Changelog
|
|
|
|
*/
|
|
|
|
|
2017-05-10 09:37:48 +02:00
|
|
|
import Gulp from 'gulp';
|
2017-02-04 14:56:29 +01:00
|
|
|
import conventionalChangelog from 'gulp-conventional-changelog';
|
|
|
|
|
|
|
|
|
2017-05-10 09:37:48 +02:00
|
|
|
Gulp.task('changelog', () => {
|
|
|
|
return Gulp.src('CHANGELOG.md')
|
2017-02-04 14:56:29 +01:00
|
|
|
.pipe(conventionalChangelog({
|
|
|
|
preset: 'angular',
|
|
|
|
releaseCount: 0
|
|
|
|
}))
|
2017-05-10 09:37:48 +02:00
|
|
|
.pipe(Gulp.dest('./'));
|
2017-02-04 14:56:29 +01:00
|
|
|
});
|