2018-04-20 20:07:36 +02:00
|
|
|
import * as fs from 'fs';
|
2018-05-03 11:39:51 +02:00
|
|
|
import * as gulp from 'gulp';
|
|
|
|
import {CHARSET} from './../../extensions/consts/files';
|
2018-04-20 20:07:36 +02:00
|
|
|
|
|
|
|
export default gulp.task('changelog-title', () => {
|
|
|
|
fs.writeFileSync(
|
|
|
|
'./CHANGELOG.md',
|
|
|
|
fs.readFileSync('CHANGELOG.md', CHARSET).replace('# Change Log', '# Material Theme Changelog'),
|
2018-05-03 11:39:51 +02:00
|
|
|
{encoding: CHARSET});
|
|
|
|
});
|