Unverified Commit 88aaa330 authored by Russell Cohen's avatar Russell Cohen Committed by GitHub
Browse files

Sync script needs gradle clean (#1100)

* Sync script needs gradle clean

* Update changelogs
parent dbbacf03
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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"]
+1 −0
Original line number Diff line number Diff line
@@ -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,