From 5930137a85a462ee3f21837f7b18bed78c6eb465 Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Tue, 27 Jan 2026 21:07:47 -0800 Subject: [PATCH] fix: use --no-verify when publishing crates to skip verification --- scripts/release/sdk.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/release/sdk.ts b/scripts/release/sdk.ts index 9302d04..523ea5a 100644 --- a/scripts/release/sdk.ts +++ b/scripts/release/sdk.ts @@ -99,13 +99,17 @@ export async function publishCrates(opts: ReleaseOpts) { } // Publish + // Use --no-verify to skip the verification step because: + // 1. Code was already built/checked in the setup phase + // 2. Verification downloads published dependencies which may not have the latest + // changes yet (crates.io indexing takes time) console.log(`==> Publishing to crates.io: ${crateName}@${opts.version}`); try { await $({ stdio: "inherit", cwd: cratePath, - })`cargo publish --allow-dirty`; + })`cargo publish --allow-dirty --no-verify`; console.log(`✅ Published ${crateName}@${opts.version}`); } catch (err) { console.error(`❌ Failed to publish ${crateName}`);