fix
This commit is contained in:
1 parent
3693c8b09e
commit
beaf89add2
1 file changed
+1
-1
@@ -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")
|
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 origin main")
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user