mirror of
https://github.com/louislam/dockge.git
synced 2024-11-21 15:53:34 +01:00
Update
This commit is contained in:
parent
dd58a9cbc4
commit
200ba0ca07
@ -17,14 +17,8 @@ if (! exists) {
|
||||
// Process package.json
|
||||
pkg.version = newVersion;
|
||||
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);
|
||||
tag(newVersion);
|
||||
|
||||
} else {
|
||||
console.log("version exists");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user