diff options
-rwxr-xr-x | tools/release/01_bump_crate_versions.ts | 8 | ||||
-rw-r--r-- | tools/release/deno_workspace.ts | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/tools/release/01_bump_crate_versions.ts b/tools/release/01_bump_crate_versions.ts index 01aedb166..b2d160fc6 100755 --- a/tools/release/01_bump_crate_versions.ts +++ b/tools/release/01_bump_crate_versions.ts @@ -8,10 +8,6 @@ const repo = workspace.repo; const cliCrate = workspace.getCliCrate(); const originalCliVersion = cliCrate.version; -// update the std version used in the code -console.log("Updating std version..."); -await updateStdVersion(); - // increment the cli version if (Deno.args.some((a) => a === "--patch")) { await cliCrate.increment("patch"); @@ -28,6 +24,10 @@ for (const crate of workspace.getCliDependencyCrates()) { await crate.increment("minor"); } +// update the std version used in the code +console.log("Updating std version..."); +await updateStdVersion(); + // update the lock file await workspace.getCliCrate().cargoUpdate("--workspace"); diff --git a/tools/release/deno_workspace.ts b/tools/release/deno_workspace.ts index 389d8a1e1..2ffac6cca 100644 --- a/tools/release/deno_workspace.ts +++ b/tools/release/deno_workspace.ts @@ -56,6 +56,7 @@ export class DenoWorkspace { return this.#repo.runCommandWithOutput([ "deno", "run", + "--unstable", "--allow-write", "--allow-read", "--allow-run", |