Skip to content

ci: release correcto-core to crates.io with release-plz - #1

Merged
darioalessandro merged 5 commits into
mainfrom
release-plz
Nov 29, 2026
Merged

darioalessandro merged 5 commits into
mainfrom
release-plz

Conversation

@darioalessandro

Copy link
Copy Markdown
Member

Sets up release-plz the way videocall-rs has it, for one crate: correcto-core.

What happens on merge

  1. The Release-plz release job sees that correcto-core 0.1.0 is not on crates.io and publishes it.
  2. It tags that commit correcto-core-v0.1.0 and opens a GitHub release, so the crate version can always be traced to a commit.
  3. From then on, the Release-plz PR job 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_TOKEN is optional. With it, CI runs on the release pull requests; without it the default GITHUB_TOKEN is used.

Scope

  • Only correcto-core is released. correcto-ffi, correcto-engine-wasm, uniffi-bindgen and the examples are marked release = false.
  • correcto-core gains repository, homepage, readme, documentation, keywords and categories. No code changes.
  • CHANGELOG.md is now in the format release-plz maintains, with the 0.1.0 entry.

Checked locally

  • cargo publish --dry-run -p correcto-core packages and builds.
  • release-plz update reads the config and reports correcto-core: next version is 0.1.0.
  • The names correcto-core and correcto are free on crates.io today.

Not checked: the workflow itself, which can only run on main with the secret present.

🤖 Generated with Claude Code

https://claude.ai/code/session_019L5FAfwe5kSHdWyTv9vhhG

darioalessandro and others added 5 commits November 29, 2026 07:13
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
@darioalessandro
darioalessandro merged commit a8a1c88 into main Nov 29, 2026
3 checks passed
@darioalessandro
darioalessandro deleted the release-plz branch November 29, 2026 15:55
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