This is a list of the things that need to happen during a release.
- Open the associated milestone. All issues and PRs should be closed. If they are not you should reassign all open issues and PRs to future milestones.
- Go through the commit history since the last release. Ensure that all PRs
that have landed are marked with the milestone. You can use this to show all
the PRs that are merged on or after YYY-MM-DD:
https://github.com/issues?utf8=%E2%9C%93&q=repo%3Acloudflare%2Fchrome-devtools-rs+merged%3A%3E%3DYYYY-MM-DD
- Go through the closed PRs in the milestone. Each should have a changelog label indicating if the change is docs, fix, feature, or maintenance. If there is a missing label, please add one.
- Choose an emoji for the release. Try to make it semi-related to something that's been included in the release (point releases can be a little weirder).
- Add this release to the
CHANGELOG.md
. Use the structure of previous entries. If you use VS Code, you can use this snippet to insert new changelog sections. If it is a release candidate, no official changelog is needed, but testing instructions will be added later in the process.
- Update the version in
Cargo.toml
. - Run
cargo update
. - Run
cargo test
. - Run
cargo build
.
- Create a new branch "#.#.#" where "#.#.#" is this release's version (release) or "#.#.#-alpha.#"
- Push up a commit with the
Cargo.toml
,Cargo.lock
, andCHANGELOG.md
changes. The commit message should be the same as your branch name from step 1. - Once ready to merge, tag the commit by running either
git tag -a v#.#.# -m #.#.#
(release), orgit tag -a v#.#.#-alpha.# -m #.#.#
. - Run
git push --tags
. - Run
cargo publish
.