ci: automate changelog generation (#1792)

This commit is contained in:
MoyuScript
2019-04-07 12:49:10 -07:00
parent af79566cd3
commit e110c0fb4d
8 changed files with 1479 additions and 295 deletions

View File

@ -10,7 +10,7 @@ const outputPath = 'tests/reftests.js';
const ignoredTests = fs
.readFileSync(path.resolve(__dirname, `../tests/reftests/ignore.txt`))
.toString()
.split('\n')
.split(/\r\n|\r|\n/)
.filter(l => l.length)
.reduce((acc, l) => {
const m = l.match(/^(\[(.+)\])?(.+)$/i);