Improve the build process (#5267)

This commit is contained in:
Louis Lam
2024-10-29 19:02:49 +08:00
committed by GitHub
parent e99fbf1ab7
commit fed6e4bdb3
9 changed files with 333 additions and 45 deletions

View File

@@ -15,7 +15,6 @@ if (newVersion) {
// Process package.json
pkg.version = newVersion;
pkg.scripts.setup = pkg.scripts.setup.replaceAll(oldVersion, newVersion);
pkg.scripts["build-docker"] = pkg.scripts["build-docker"].replaceAll(oldVersion, newVersion);
fs.writeFileSync("package.json", JSON.stringify(pkg, null, 4) + "\n");
// Process README.md