summaryrefslogtreecommitdiff
path: root/tools/release/01_bump_crate_versions.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-05-27 12:14:37 -0400
committerGitHub <noreply@github.com>2022-05-27 12:14:37 -0400
commitda416f0249977ee58f18930de580a3c7cf110beb (patch)
treead605eb313c8ef76a14d45f1edb84c32e7dcb3dc /tools/release/01_bump_crate_versions.ts
parent1c44f4060edb23898bb685ae49a90f658c6c2c05 (diff)
fix(scripts/release): add unstable flag when running ./tools/format.js (#14743)
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");