mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-19 18:25:58 +08:00
docs: unity version
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
const { readFileSync, writeFileSync } = require('fs');
|
||||
|
||||
const { version } = JSON.parse(readFileSync('./package.json', 'utf-8'));
|
||||
|
||||
const last = /v2\.4\.1/g;
|
||||
const now = `v${version}`;
|
||||
const last = /v2\.4\.2/g;
|
||||
const now = `v2`;
|
||||
|
||||
let readme = readFileSync('./README.md', 'utf-8');
|
||||
readme = readme.replace(last, now);
|
||||
|
Reference in New Issue
Block a user