When preparing to make a release of the SDK follow these steps:
- Update version numbers of all crates to be published from
0.0.X
to `0.0.X- 1` including updating the version requirement for any packages which have workspace dependencies which are also being published.
- Perform a dry-run publish (use
cargo publish --dry-run
) in order to verify that publishing will be successful. - Create a PR and get it merged into master.
- Once the PR has landed in master, check out the commit which does the versions bump.
- Publish to crates.io
- Create a git tag
git tag aptos-sdk-v0.0.X HEAD
and push that tag to the diem/diem repository.
Here is the set of currently published packages that make up the aptos-sdk:
- move-core-types
- aptos-crypto-derive
- aptos-crypto
- aptos-types
- aptos-transaction-builder
- aptos-json-rpc-types
- aptos-client
- aptos-sdk