-
Notifications
You must be signed in to change notification settings - Fork 336
Releasing
Christoph Otter edited this page Aug 12, 2024
·
30 revisions
- Make sure you have
cargo-release
installed. - Run
cargo release [patch/minor/major]
(patch
,minor
, ormajor
varying by what version you want to release).
This will do a dry-run, validating everything builds correctly, and all the criteria are met. - 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.