-
Notifications
You must be signed in to change notification settings - Fork 36
Release Sequence
eldesh edited this page Jun 27, 2025
·
16 revisions
(for a project owner \in https://crates.io/teams/github:idein:engineers)
- Make a release branch
- git checkout -b release/x.y.z
- Bump up version
- Update
Cargo.toml > version -
cargo build(updatingCargo.lock)
- Update
- Commit
git add Cargo.tomlgit add Cargo.lockgit commit -m "bump up x.y.z"
- Push the branch
$ git push origin release/x.y.z - Make a pull request with following format:
where the
Bump up the version to `x.y.z`. # <PR category> - <1 line descriprion> #<PR> - <1 line description> #<PR> ..<PR category>:= Improvements | Bugfixes | New Features | etc... - Merge the pull request
- Add a new tag (
vX.Y.Z)Pushing tags publishes crates to crates.io.$ git tag -a vX.Y.Z # The annotation should be the same as the body of the PR. $ git push origin vX.Y.Z - 🎉