Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam committed Nov 12, 2023
1 parent dd58a9c commit 200ba0c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions extra/update-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 200ba0c

Please sign in to comment.