mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 11:24: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
|
||||
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 a new issue