fix: use --no-verify when publishing crates to skip verification

This commit is contained in:
Nathan Flurry 2026-01-27 21:07:47 -08:00
parent e00b6f5d5f
commit 5930137a85

View file

@ -99,13 +99,17 @@ export async function publishCrates(opts: ReleaseOpts) {
} }
// Publish // 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}`); console.log(`==> Publishing to crates.io: ${crateName}@${opts.version}`);
try { try {
await $({ await $({
stdio: "inherit", stdio: "inherit",
cwd: cratePath, cwd: cratePath,
})`cargo publish --allow-dirty`; })`cargo publish --allow-dirty --no-verify`;
console.log(`✅ Published ${crateName}@${opts.version}`); console.log(`✅ Published ${crateName}@${opts.version}`);
} catch (err) { } catch (err) {
console.error(`❌ Failed to publish ${crateName}`); console.error(`❌ Failed to publish ${crateName}`);