mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 19:34:04 +00:00
Update
This commit is contained in:
parent
dd58a9cbc4
commit
200ba0ca07
1 changed files with 0 additions and 6 deletions
|
@ -17,14 +17,8 @@ if (! exists) {
|
||||||
// Process package.json
|
// Process package.json
|
||||||
pkg.version = newVersion;
|
pkg.version = newVersion;
|
||||||
fs.writeFileSync("package.json", JSON.stringify(pkg, null, 4) + "\n");
|
fs.writeFileSync("package.json", JSON.stringify(pkg, null, 4) + "\n");
|
||||||
|
|
||||||
// Also update pnpm-lock.yaml
|
|
||||||
const npm = /^win/.test(process.platform) ? "pnpm.cmd" : "pnpm";
|
|
||||||
childProcess.spawnSync(npm, [ "install" ]);
|
|
||||||
|
|
||||||
commit(newVersion);
|
commit(newVersion);
|
||||||
tag(newVersion);
|
tag(newVersion);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.log("version exists");
|
console.log("version exists");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue