TBD
- Create a release PR against the
nextbranch naming the branch with therelease-plz-prefix (its important to use this prefix to trigger the crate publishing on CI in the later step). - Manually bump ALL the SDK crate versions and update the
sdk/sdk/CHANGELOG.md - Review the changes in the release PR, and merge it into the
nextbranch. - The CI will automatically run
release-plz releaseafter the release PR is merged to publish the new versions to crates.io.
- Update the contract templates at https://github.com/0xMiden/project-template (see 2.1 below).
- Update the new project template at https://github.com/0xMiden/project-template (see 2.2 below).
- Merging to
mainwill create a new release PR containing any unreleased changes. - Optional. Change the proposed crate version, CHANGELOG edits.
- The release PR gets merged to
mainwhen we are ready to publish the release. - The crates are published to crates.io, a new git tag is created, as well as a GitHub release
- A job is run to pre-build the executable for our supported targets and upload them to the created Github release.
- Merge the
mainbranch back to thenextbranch.
- Bump the Miden SDK version in the Cargo.toml.
- Migrate the code in lib.rs.
- Create a git tag.
- Make a PR in the compiler repo and set the new git tag (bump the current in
PROJECT_TEMPLATES_REPO_TAGat tools/cargo-miden/src/commands/new_project.rs). - Run the compiler tests, if red then goto 2.
- Bump the Miden SDK,
miden-clientversions in the Cargo.toml files, set thecargo-midenversion to thenextbranch for now(after the compiler release it'd be the new version). - Migrate the code in the contracts, tests and the app.
- Create a git tag.
- Make a PR in the compiler repo and set the new git tag (bump the current in
MIDEN_PROJECT_TEMPLATE_REPO_TAGat tools/cargo-miden/src/commands/new_project.rs). - Run the local repo tests, if red then goto 2.
- Run the compiler tests, if red then goto 2.
- Change the
cargo-midenversion to the newly published crate in the PR (created in 2.2.4) at https://github.com/0xMiden/project-template. - Re-set the same git tag (created in 2.2.3) to the new commit.
- Merge the PR (created in 2.2.4).