Skip to content

chore(sdk): make publish idempotent - #1561

Merged
chris-olszewski merged 1 commit into
mainfrom
olszewski/fix_release
Sep 2, 2026
Merged

chore(sdk): make publish idempotent#1561
chris-olszewski merged 1 commit into
mainfrom
olszewski/fix_release

Conversation

@chris-olszewski

Copy link
Copy Markdown
Member

What was changed

  • Update release workflow to be idempotent, currently if it fails partially through the workflow it would be unable to recover since cargo publish --workspace hard errors if it encounters an already published crate.
  • Added utility script to find unreleased crates for the actual cargo publish command

Why?

cargo publish --workspace --idempotent remains a feature request and I don't especially want to use a 3rd party dep for the release process unless absoluetly necessary.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@chris-olszewski
chris-olszewski requested a review from a team as a code owner September 2, 2026 14:51
@chris-olszewski chris-olszewski added the skip-changelog PR changes do not require changelog updates label Sep 2, 2026
@chris-olszewski
chris-olszewski merged commit 2f7ef34 into main Sep 2, 2026
39 of 42 checks passed
@chris-olszewski
chris-olszewski deleted the olszewski/fix_release branch September 2, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR changes do not require changelog updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants