-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Release Process
Rob Ede edited this page Mar 21, 2021
·
8 revisions
- Update version number in
Cargo.toml
. - Update dependent crates in repo with new version.
- Check deps.rs for crates with outdated or known-vulnerable version ranges.
- Give release number and date to unreleased section of changelog (and re-add unreleased section).
- Update badge versions in README(s).
- Submit merge request with updated files.
- Create new release on GitHub.
- Use format
{short_pkg_name}-v{version}
for tag. Eg.http-v2.0.0-beta.1
- Use format
{pkg_name}: v{version}
for release name: Eg.actix-http: v2.0.0-beta.1
- Use updated version changelog as release notes.
- Mark as pre-release if alpha/beta/pre release.
rm Cargo.lock
- Navigate to package directory (
cargo publish
doesn't support--package
option). cargo clean
cargo publish --dry-run
cargo publish
Ask Questions in the Discord Server