Skip to content

ci: make release publishing idempotent - #15

Merged
AlainDor merged 1 commit into
mainfrom
ci/release-publish-idempotent
Apr 28, 2026
Merged

AlainDor merged 1 commit into
mainfrom
ci/release-publish-idempotent

Conversation

@AlainDor

Copy link
Copy Markdown
Contributor

Summary

  • make real release publishes create or reuse the GitHub Release from the workflow
  • upload release assets with clobber when the release already exists
  • skip crates.io publish and dry-run steps when the target crate version already exists

Verification

  • cargo build --workspace
  • cargo test --workspace
  • cargo test --workspace --all-features
  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo deny check
  • cargo package --workspace --allow-dirty
  • yq eval '.' .github/workflows/release.yml >/dev/null
  • git diff --check

@AlainDor
AlainDor merged commit 1650d18 into main Apr 28, 2026
8 checks passed
@AlainDor
AlainDor deleted the ci/release-publish-idempotent branch April 28, 2026 23:57
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