Update tools allow 'aws-sdk' repo name (#3353)

## Motivation and Context
Fix missed change to update changelog tool

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
This commit is contained in:
Russell Cohen 2024-01-10 16:51:36 -05:00 committed by GitHub
parent 4bdd9dab74
commit 1c8043f3be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -164,6 +164,7 @@ fn to_md_link(reference: &Reference) -> String {
let org_name = match reference.repo.as_str() { let org_name = match reference.repo.as_str() {
"smithy-rs" => "smithy-lang", "smithy-rs" => "smithy-lang",
"aws-sdk-rust" => "awslabs", "aws-sdk-rust" => "awslabs",
"aws-sdk" => "aws",
repo => panic!("unrecognized repo named {repo}"), repo => panic!("unrecognized repo named {repo}"),
}; };
format!( format!(
@ -396,6 +397,7 @@ fn render_external_contributors(entries: &[ChangelogEntry], out: &mut String) {
.unwrap() .unwrap()
.references .references
.iter() .iter()
.filter(|r| matches!(r.repo.as_str(), "aws-sdk-rust" | "smithy-rs"))
.map(to_md_link) .map(to_md_link)
}) })
.collect::<Vec<_>>(); .collect::<Vec<_>>();
@ -507,7 +509,7 @@ references = ["smithy-rs#445"]
author = "external-contrib" author = "external-contrib"
message = "I made a change to update the code generator" message = "I made a change to update the code generator"
meta = { breaking = false, tada = true, bug = false } meta = { breaking = false, tada = true, bug = false }
references = ["smithy-rs#446"] references = ["smithy-rs#446", "aws-sdk#123"]
[[smithy-rs]] [[smithy-rs]]
author = "another-contrib" author = "another-contrib"
@ -570,7 +572,7 @@ v0.3.0 (January 4th, 2022)
- :warning: (all, [smithy-rs#445](https://github.com/smithy-lang/smithy-rs/issues/445)) I made a major change to update the code generator - :warning: (all, [smithy-rs#445](https://github.com/smithy-lang/smithy-rs/issues/445)) I made a major change to update the code generator
**New this release:** **New this release:**
- :tada: (all, [smithy-rs#446](https://github.com/smithy-lang/smithy-rs/issues/446), @external-contrib) I made a change to update the code generator - :tada: (all, [smithy-rs#446](https://github.com/smithy-lang/smithy-rs/issues/446), [aws-sdk#123](https://github.com/aws/aws-sdk/issues/123), @external-contrib) I made a change to update the code generator
- :tada: (all, [smithy-rs#446](https://github.com/smithy-lang/smithy-rs/issues/446), @external-contrib) I made a change to update the code generator - :tada: (all, [smithy-rs#446](https://github.com/smithy-lang/smithy-rs/issues/446), @external-contrib) I made a change to update the code generator
**Update guide:** **Update guide:**