This document describes the steps to release a new version of the crate or wasi-demo-app images.
- Bump package and dependency versions in:
./compiler/Cargo.toml: Bump the package version as needed../ttrpc-codegen/Cargo.toml: Bump the package version as needed../Cargo.toml: Bump package version as needed. Then bump the workspace dependencies version to match the respective crates versions.
- Commit the changes and get them merged in the repo.
- Dry run the
cargo publishcommand as followcargo +nightly publish \ -Z package-workspace \ --dry-run \ --locked \ -p ttrpc \ -p ttrpc-codegen \ -p ttrpc-compiler
- If the dry run succeeds, publish the crates that need publishing using
cargo publihs -p <crate>in the following orderttrpc-compilerttrpc-codegenttrpc