mirror of
https://github.com/louislam/dockge.git
synced 2024-11-22 00:04:00 +01:00
Update
This commit is contained in:
parent
dd58a9cbc4
commit
200ba0ca07
@ -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 New Issue
Block a user