Repository navigation
ci: release correcto-core to crates.io with release-plz - #1
Merged
Merged
Conversation
On every push to main, release-plz publishes correcto-core when its version is not on crates.io yet, tags the commit correcto-core-v<version> and opens a GitHub release. A second job keeps a release pull request open with the next version bump and changelog. Only correcto-core is released. The bindings and examples stay out. The crate gains the metadata crates.io shows: repository, readme, keywords and categories. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019L5FAfwe5kSHdWyTv9vhhG
GitHub no longer provides the macos-14 image; both jobs were cancelled with "The configuration 'macos-14-arm64-us-default' is not supported". Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019L5FAfwe5kSHdWyTv9vhhG
v27 ships an installer that fails on the macos-15 image while creating the _nixbld users (eDSRecordAlreadyExists). v31 is what videocall-rs runs on macOS. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019L5FAfwe5kSHdWyTv9vhhG
Says where each language installs from now that the Rust core is on crates.io, adds the Rust rule and check from the microwave example, and tidies a handful of sentences. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019L5FAfwe5kSHdWyTv9vhhG
LaTeX in $...$ only renders on github.com in a browser. The GitHub mobile app and crates.io show the raw source. Unicode in code spans reads the same in all of them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019L5FAfwe5kSHdWyTv9vhhG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets up release-plz the way videocall-rs has it, for one crate:
correcto-core.What happens on merge
Release-plz releasejob sees thatcorrecto-core 0.1.0is not on crates.io and publishes it.correcto-core-v0.1.0and opens a GitHub release, so the crate version can always be traced to a commit.Release-plz PRjob keeps a pull request open with the next version bump and changelog. Merging that PR publishes the next version.Needed before merging
Add the repository secret
CARGO_REGISTRY_TOKEN(a crates.io token that may publish new crates). Without it the publish step fails and nothing is tagged.RELEASE_PLZ_TOKENis optional. With it, CI runs on the release pull requests; without it the defaultGITHUB_TOKENis used.Scope
correcto-coreis released.correcto-ffi,correcto-engine-wasm,uniffi-bindgenand the examples are markedrelease = false.correcto-coregainsrepository,homepage,readme,documentation,keywordsandcategories. No code changes.CHANGELOG.mdis now in the format release-plz maintains, with the 0.1.0 entry.Checked locally
cargo publish --dry-run -p correcto-corepackages and builds.release-plz updatereads the config and reportscorrecto-core: next version is 0.1.0.correcto-coreandcorrectoare free on crates.io today.Not checked: the workflow itself, which can only run on
mainwith the secret present.🤖 Generated with Claude Code
https://claude.ai/code/session_019L5FAfwe5kSHdWyTv9vhhG