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.ts8
1 files changed, 4 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");