Skip to content

Commit 526d628

Browse files
warn when key store is not available
1 parent fca0479 commit 526d628

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ android {
140140
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard.pro'
141141
if (project.hasProperty('STORE_FILE')) {
142142
signingConfig signingConfigs.release
143+
} else {
144+
println "STORE_FILE property is not set: cannot sign release build for the play store!"
143145
}
144146
// This is a sorted list of fallback build types used when a dependency does not
145147
// include a "playStore" build type. The plugin selects the first build type available

deploy_playstore.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ rm -rf fastlane/metadata/android/bs-BA \
4545
fastlane/metadata/android/is \
4646
app/src/main/res/values-is
4747

48+
# to check if gradle actually receives the properties
49+
cat gradle.properties
50+
4851
if [[ "${1:-}" == "--dry-run" ]] && [[ "${LATEST_TAG}" == "${CURRENT_VERSION}" ]]; then
4952
echo "${CURRENT_VERSION} is a tag but --dry-run was specified - not doing anything"
5053
elif [[ "${1:-}" == "--dry-run" ]] || [[ "${LATEST_TAG}" != "${CURRENT_VERSION}" ]]; then

0 commit comments

Comments
 (0)