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 --version
refers to the appropropriate version for Rust - 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.md
inside AwsEncryptionSDK/runtimes/rust/ with the changes - If this is a major version bump, update the
SUPPORT_POLICY.rst
for Rust - Get the PR reviewed by a teammate
- Before merging the PR, publish the new version of the
aws-esdk
crate 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.toml
which adds theaws-esdk
crate - Merge the release PR