This document records the steps to publish new versions of the crate since it requires non-trivial preperation and ordering that needs to be remembered due to the Android component's distribution.
- Update main crate'a version in
rustls-platform-verifier/Cargo.toml, and in any additional places. - If any non-test changes have been made to the
androiddirectory since the last release:- Update Android artifact version in
android-release-support/Cargo.toml - Bump dependency version of the Android support crate in
rustls-platform-verifier/Cargo.tomlto match the new one - Commit version increase changes on the release branch
- Run
ci/package_android_release.shin a UNIX compatible shell - (Optional)
cargo publish -p rustls-platform-verifier-android --dry-run - (Optional) Inspect extracted archive to ensure the local Maven repository artifacts are present
- Publish the Android artifacts' new version:
cargo publish -p rustls-platform-verifier-android
- Update Android artifact version in
- Commit main crate's version increase on the release branch
- Publish the main crate's new version:
cargo publish -p rustls-platform-verifier