fix: list comment page lost in [find-comments] (#66)

* fix: list comment page lost in [find-comments]

* add changelog
This commit is contained in:
xrkffgg
2021-03-21 20:32:11 +08:00
committed by GitHub
parent 89884a3a50
commit d82909b31d
13 changed files with 145 additions and 117 deletions

View File

@@ -1,7 +1,9 @@
const { readFileSync, writeFileSync } = require('fs');
const last = /v2\.1\.2/g;
const now = 'v2.2.0';
const { version } = JSON.parse(readFileSync('./package.json', 'utf-8'));
const last = /v2\.2\.0/g;
const now = `v${version}`;
let readme = readFileSync('./README.md', 'utf-8');
readme = readme.replace(last, now);