Skip to content

fix: make crate publish idempotent when version already exists#58

Merged
jrandolf merged 1 commit intomainfrom
fix/idempotent-crate-publish
Feb 24, 2026
Merged

fix: make crate publish idempotent when version already exists#58
jrandolf merged 1 commit intomainfrom
fix/idempotent-crate-publish

Conversation

@jrandolf
Copy link
Contributor

Summary

  • Gracefully skip crates that are already published to crates.io (already exists on crates.io index)
  • Allows the workflow to be safely re-run after partial failures (e.g. when create-release fails after crates were published)

Test plan

  • Verify workflow re-run succeeds for v0.5.0 after this merges

🤖 Generated with Claude Code

Gracefully skip publishing crates that are already on crates.io,
allowing the workflow to be re-run after partial failures.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jrandolf jrandolf merged commit 627a3dc into main Feb 24, 2026
8 checks passed
@jrandolf jrandolf deleted the fix/idempotent-crate-publish branch February 24, 2026 20:22
@jrandolf jrandolf mentioned this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant