Skip to content

Commit adb2d1f

Browse files
committed
fix(security): Remove GPG key leak from build logs
1 parent b356055 commit adb2d1f

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

android/iotdevicesdk/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ android {
6161
}
6262
}
6363

64-
buildFeatures {
64+
buildFeatures {
6565
// AGP 8 disables buildConfig generation by default. We set this to true
6666
// to resstore BuildConfig.VERSION_NAME for both debug and release build types.
67-
buildConfig true
67+
buildConfig true
6868
}
6969

7070
// Make the 'release' SoftwareComponent available for publishing on AGP 8
@@ -203,7 +203,6 @@ afterEvaluate {
203203
(String) project.property("signingKey"),
204204
(String) project.property("signingPassword")
205205
)
206-
println("key=" + project.property("signingKey"))
207206
sign(publications)
208207
}
209208
}

codebuild/cd/deploy-android.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -ex
3+
set -e
44
set -o pipefail # Ensure if any part of a pipeline fails, it propogates the error through the pipeline
55

66
git submodule update --init

0 commit comments

Comments
 (0)