Skip to content

Releasing

Christoph Otter edited this page Aug 12, 2024 · 29 revisions
  1. Make sure you have cargo-release installed.
  2. Run cargo release [patch/minor/major] (patch, minor, or major varying by what version you want to release).
    This will do a dry-run, validating everything builds correctly, and all the criteria are met.
  3. Then re-run the command but append the -x flag to run it for real and get the version out there! Note that because of #2186, you currently also need to run this with --no-verify (scary, I know)

That should be it. The changelog should be automatically updated, the tags created, and releases pushed to crates.io.

You might also want to take a look at the .circleci/config.yml for any "enable again once x.x is released" todos.

Clone this wiki locally