aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2019-01-20 03:47:58 +0000
committerMenny Even Danan <menny@evendanan.net>2019-01-20 03:47:58 +0000
commit1c4dbf09c1c9eccc5795f3fcb2e4e3747b162665 (patch)
tree5259e885f844256035e7f6762420e410bc10173b
parent7265c3719cc8e99c2f357a093a372cc974b83533 (diff)
downloadask-language-pack-1c4dbf09c1c9eccc5795f3fcb2e4e3747b162665.tar.gz
ask-language-pack-1c4dbf09c1c9eccc5795f3fcb2e4e3747b162665.tar.bz2
Ensuring Release is alway built from source
-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