TBD
Install release-plz
CLI tool following the instructions here
Install cargo-semver-checks
CLI tool here to use as an extra check in release-plz
and bump the major versions on semver violations.
The release process for the Miden Compiler and Miden SDK is managed using the release-plz
tool. The following steps outline the process for creating a new release:
- Run
release-plz update
in the repo root folder to update the crates versions and generate changelogs. - Create a release PR naming the branch with the
release-plz-
suffix (its important to use this suffix to trigger the crate publishing on CI in step 4). - Review the changes in the release PR, commit edits if needed and merge it into the main branch.
- The CI will automatically run
release-plz release
after the release PR is merged to publish the new versions to crates.io. - Set a git tag for the published crates to mark the release.