Sync script needs gradle clean (#1100)

* Sync script needs gradle clean

* Update changelogs
This commit is contained in:
Russell Cohen 2022-01-20 12:30:47 -05:00 committed by GitHub
parent dbbacf0398
commit 88aaa3308b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -10,3 +10,9 @@
# references = ["smithy-rs#920"]
# meta = { "breaking" = false, "tada" = false, "bug" = false }
# author = "rcoh"
[[aws-sdk-rust]]
message = "_Internal:_ Update sync script to run gradle clean. This fixes an issue where codegen was not triggered when only properties changed."
author = "rcoh"
meta = { "breaking" = false, "tada" = false, "bug" = true }
references = ["smithy-rs#1100"]

View File

@ -228,6 +228,7 @@ fn build_sdk(smithy_rs_path: &Path) -> Result<PathBuf> {
// The output of running these commands isn't logged anywhere unless they fail
let _ = run(&["rm", "-rf", "aws/sdk/build"], smithy_rs_path).context(here!())?;
let _ = run(&[gradlew, ":aws:sdk:clean"], smithy_rs_path).context(here!())?;
let _ = run(
&[gradlew, "-Paws.fullsdk=true", ":aws:sdk:assemble"],
smithy_rs_path,