* Release v14.3.0 * Add a release checklist * Edition 2021 * Update CHANGELOG * Update CHANGELOG.md Co-authored-by: Andronik <write@reusable.software> * It's a breaking change: 15.0.0 Co-authored-by: Andronik <write@reusable.software>
2.4 KiB
Release Checklist
These steps assume that you've checked out the frame-metadata repository and are in the root directory of it.
We also assume that ongoing work done is being merged directly to the main branch.
-
Ensure that everything you'd like to see released is on the
mainbranch. -
Create a release branch off
main, for examplerelease-v14.3.0. Decide how far the version needs to be bumped based on the changes to date. If unsure what to bump the version to (e.g. is it a major, minor or patch release), check with the Parity Tools team. -
Check that you're happy with the current documentation.
cargo doc --open --all-featuresOptionally you can also confirm that any external links are still valid like so:
cargo install cargo-deadlinks cargo deadlinks --check-http -- --all-featuresIf there are minor issues with the documentation, they can be fixed in the release branch.
-
Bump the crate version in
frame-metadata/Cargo.tomlto whatever was decided in step 2. -
Update
CHANGELOG.mdto reflect the difference between this release and the last. If you're unsure of what to add, check with the Tools team. See theCHANGELOG.mdfile for details of the format it follows.Any closed PRs between the last release and this release branch should be noted.
-
Commit any of the above changes to the release branch and open a PR in GitHub with a base of
main. -
Once the branch has been reviewed and passes CI, merge it.
-
Now, we're ready to publish the release to crates.io.
Checkout
main, ensuring we're looking at that latest merge (git pull).cd frame-metadata && cargo publish -
If the release was successful, tag the commit that we released in the
mainbranch with the version that we just released, for example:git tag -s v14.3.0 # use the version number you've just published to crates.io, not this one git push --tagsOnce this is pushed, go along to the releases page on GitHub and draft a new release which points to the tag you just pushed to
mainabove. Copy the changelog comments for the current release into the release description.