mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-24 09:00:06 +08:00
fix
This commit is contained in:
parent
a362f920dc
commit
09120171ba
@ -11,6 +11,6 @@ if (currentVersion === targetVersion) {
|
||||
} else {
|
||||
let packageJson = JSON.parse(fs.readFileSync("./package.json"));
|
||||
packageJson.version = targetVersion;
|
||||
fs.writeFileSync(JSON.stringify(packageJson));
|
||||
fs.writeFileSync("./package.json", JSON.stringify(packageJson));
|
||||
fs.appendFileSync("./checkVersion.sh", "#!/bin/bashe\ngit add .\n git commit -m \"chore:version change\"\n git push")
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user