mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
fix
This commit is contained in:
parent
6af4d6f5b8
commit
02299e3892
@ -11,5 +11,5 @@ if (currentVersion === targetVersion) {
|
|||||||
let packageJson = JSON.parse(fs.readFileSync("./package.json"));
|
let packageJson = JSON.parse(fs.readFileSync("./package.json"));
|
||||||
packageJson.version = targetVersion;
|
packageJson.version = targetVersion;
|
||||||
fs.writeFileSync("./package.json", JSON.stringify(packageJson));
|
fs.writeFileSync("./package.json", JSON.stringify(packageJson));
|
||||||
fs.writeFileSync("./checkVersion.sh", "#!/bin/bashe\ngit config --global user.email \"bot@test.mail\"\n git config --global user.name \"Version\"\ngit add .\n git commit -m \"chore:version change\"\n git push -u origin main")
|
fs.writeFileSync("./checkVersion.sh", "#!/bin/bashe\ngit config --global user.email \"bot@test.mail\"\n git config --global user.name \"Version\"\ngit branch -M main\ngit add .\n git commit -m \"chore:version change\"\n git push -u origin main")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user