To publish a new version of the aws-esdk for version N.N.N
- Acquire the appropriate AWS permissions to run the tests
- Ensure that
dafny --versionrefers to the appropriate version for Rust- This is most likely the version defined here. Consult a Subject Matter Expert if you're not sure.
- Ensure git checkout of main is fresh and clean
- ./start_release.sh N.N.N
cd ../../../releases/rust/esdk- Create a PR with all changed or added files
- Within the PR, make sure you also:
- Update the
CHANGELOG.mdinside AwsEncryptionSDK/runtimes/rust/ with the changes - If this is a major version bump, update the
SUPPORT_POLICY.rstfor Rust - Get the PR reviewed by a teammate
- Before merging the PR, publish the new version of the
aws-esdkcrate and test the published crate (documented in next steps)
- Update the
- Run
cargo publish cd ../../../AwsEncryptionSDK/runtimes/rust/# i.e. return here- ./test_published.sh N.N.N
- Ignore/stash the changes in
AwsEncryptionSDK/runtimes/rust/test_examples/Cargo.tomlwhich adds theaws-esdkcrate - Merge the release PR