移除对changelog的html对version.json的写入

pull/453/head
lyswhut 2021-01-30 13:46:46 +08:00
parent da0878a7a7
commit 3e0ee374c9
1 changed files with 1 additions and 2 deletions

View File

@ -44,8 +44,7 @@ module.exports = async newVerNum => {
desc: version.desc,
})
version.version = newVerNum
version.desc = newChangeLog
// version.desc = newMDChangeLog.replace(/(?:^|(\n))#{1,6} (.+)\n/g, '$1$2').trim()
version.desc = newMDChangeLog.replace(/(?:^|(\n))#{1,6} (.+)\n/g, '$1$2').trim()
pkg.version = newVerNum
console.log(chalk.blue('new version: ') + chalk.green(newVerNum))