RELEASING.md
Edit Cargo.toml to bump the version (both the main version and the package versions)
Run
make lint-rs
This will update Cargo.lock, sync package.json/package-lock.json (via crates/monty-js/build.rs),
and sync the pydantic-monty metapackage's version and its exact pins on
pydantic-monty-client/pydantic-monty-runtime (via crates/monty-python/build.rs).
git checkout -b prepare-release-vX.Y.Z
git commit -am "Bump version to vX.Y.Z"
git push
Once the PR is merged, create a release in the GitHub UI with a tag matching the version in Cargo.toml.
Once the tag is pushed, CI will:
pydantic-monty-client wheels, pydantic-monty-runtime wheels,
and the pydantic-monty metapackage that pins both)@pydantic/monty + the platform packages carrying the napi library, the monty binary, and the wasm build)monty, monty-types, monty-alloc, monty-fs, monty-runtime, monty-macros, monty-proto, monty-pool, monty-type-checking, monty-typeshed) via cargo publish --workspaceMonitor the workflow at https://github.com/pydantic/monty/actions
For pre-releases (alpha, beta, rc), use a tag like v0.0.2-beta.1:
--tag next (not latest)