Skip to content

Commit 7eb06bc

Browse files
authored
Add tool to simulate a release dry run (#3327)
## Motivation and Context As we discovered in #3318, it's possible to cause unexpected breakage by releasing runtime crates. This tool automates setting up `aws-sdk-rust` (and manually, you can copy the patches into `~/.cargo/config.toml` for your entire system), to simulate the release of new runtime crates. <img width="1518" alt="Screenshot 2023-12-15 at 12 58 41 PM" src="https://github.com/smithy-lang/smithy-rs/assets/492903/59d6cb5c-d39c-4e42-98e2-6858d0884449"> ### Testing With this tool (and a small hack—I had to simulate releasing 1.1.100 so that the versions became the latest), I correctly caught the breaking changes from the previous release. ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
1 parent 1bb0349 commit 7eb06bc

File tree

3 files changed

+546
-0
lines changed

3 files changed

+546
-0
lines changed

tools/ci-build/runtime-release-dryrun/Cargo.lock

Lines changed: 353 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[package]
2+
name = "runtime-release-dryrun"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
clap = { version = "4", features = ["derive"] }
10+
anyhow = "1.0.75"
11+
indicatif = "0.17.7"

0 commit comments

Comments
 (0)