This document describes steps to follow when releasing a new version of Mundane.
- Update
Cargo.tomlwith the new version number - Update
boringssl/boringsslby runninggit submodule foreach git pull origin master - Update
boringssl/boringssl.rs:
- Run
boringssl/bindgen.sh <major> <minor> <patch> - Run
git diffto verify that all of the version numbers have been updated correctly (namely, thelinkattribute at the top of the file is of the form#[link(name = crypto_X_Y_Z)], and everylink_nameattribute is of the form#[link_name = "__RUST_MUNDANE_X_Y_Z_SYMBOL_NAME"], whereX.Y.Zis the version number, andSYMBOL_NAMEis the name of the symbol that thelink_nameattribute is attached to) - Run
boringssl/test_symbol_version_name.sh <major> <minor> <patch>to verify that all of the version numbers have been updated correctly
- Make sure
./test.shpasses. - Update
CHANGELOG.md- move any unreleased changes into a new section for the new version. - Dry run by running
cargo publish --dry-run --allow-dirty. - Commit the changes.
- Once the changes have been committed, publish by running
cargo publish.