- Login to your crates.io account:
cargo login
- Prior authorization must be given by a maintainer of the crate
- Create a new git branch:
release/vX.Y.Z
. - Run all tests against hedera-local-node. Stop local-node once the tests are completed.
cargo test
- Change the version number in Cargo.toml.
version = major.minor.patch
- Follows semver 2.0
- Before publishing, run
--dry-run
to check for warnings or errors.
cargo publish --dry-run
- If all warnings and error are resolved, publish the newest version to crates.io.
cargo publish
- Create a new tag.
git push -a <version> -m <version>
- Once branch has been approved and merged to main, document added features pertaining to the newest release.