vsc-material-theme/.gulp/tasks/changelog-title.ts

11 lines
329 B
TypeScript
Raw Normal View History

2018-04-20 20:07:36 +02:00
import * as fs from 'fs';
import * as gulp from 'gulp';
import {CHARSET} from '../../src/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'),
{encoding: CHARSET});
});