summaryrefslogtreecommitdiff
path: root/tools/release/01_bump_crate_versions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release/01_bump_crate_versions.ts')
-rwxr-xr-xtools/release/01_bump_crate_versions.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/release/01_bump_crate_versions.ts b/tools/release/01_bump_crate_versions.ts
index 4f974e2d5..bef8011ba 100755
--- a/tools/release/01_bump_crate_versions.ts
+++ b/tools/release/01_bump_crate_versions.ts
@@ -26,10 +26,6 @@ for (const crate of workspace.getCliDependencyCrates()) {
await crate.increment("minor");
}
-// update the std version used in the code
-$.logStep("Updating std version...");
-await updateStdVersion();
-
// update the lock file
await workspace.getCliCrate().cargoUpdate("--workspace");
@@ -98,21 +94,6 @@ async function getGitLog() {
}
}
-async function updateStdVersion() {
- const compatFilePath = cliCrate.folderPath.join("deno_std.rs");
- const text = await compatFilePath.readText();
- const versionRe = /std@([0-9]+\.[0-9]+\.[0-9]+)/;
- const stdVersionText = versionRe.exec(text)?.[1];
- if (stdVersionText == null) {
- throw new Error(`Could not find the deno_std version in ${compatFilePath}`);
- }
- const stdVersion = semver.parse(stdVersionText)!;
- const newStdVersion = stdVersion.increment("minor");
- await compatFilePath.writeText(
- text.replace(versionRe, `std@${newStdVersion}`),
- );
-}
-
async function bumpCiCacheVersion() {
const generateScript = workspace.repo.folderPath.join(
".github/workflows/ci.generate.ts",