aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/ci_deploy.sh3
-rwxr-xr-xscripts/ci_deploy_maven.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/ci_deploy.sh b/scripts/ci_deploy.sh
index 48ae249..229a28b 100755
--- a/scripts/ci_deploy.sh
+++ b/scripts/ci_deploy.sh
@@ -23,6 +23,7 @@ wget ${KEYSTORE_FILE_URL} -q -O /tmp/language_pack.keystore
wget ${PUBLISH_CERT_FILE_URL} -q -O /tmp/apk_upload_key.p12
echo "**** Uploading to Play Store..."
-./gradlew ${EXTRA_GRADLE_ARGS} assembleRelease publishRelease
+./gradlew ${EXTRA_GRADLE_ARGS} clean
+./gradlew ${EXTRA_GRADLE_ARGS} --no-build-cache assembleRelease publishRelease
diff --git a/scripts/ci_deploy_maven.sh b/scripts/ci_deploy_maven.sh
index 6176d3e..a07214f 100755
--- a/scripts/ci_deploy_maven.sh
+++ b/scripts/ci_deploy_maven.sh
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
-./gradlew ${EXTRA_GRADLE_ARGS} bintrayUpload -PdryRun=false \ No newline at end of file
+./gradlew ${EXTRA_GRADLE_ARGS} clean
+./gradlew ${EXTRA_GRADLE_ARGS} --no-build-cache bintrayUpload -PdryRun=false \ No newline at end of file