aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2019-01-20 03:55:13 +0000
committerGitHub <noreply@github.com>2019-01-20 03:55:13 +0000
commit2fbe74b2098d475a741a4b662f6376a5a2f0f9ff (patch)
tree5259e885f844256035e7f6762420e410bc10173b
parente9f4232f211d66e05444c07dbe4a4d1d71939691 (diff)
parent1c4dbf09c1c9eccc5795f3fcb2e4e3747b162665 (diff)
downloadask-language-pack-2fbe74b2098d475a741a4b662f6376a5a2f0f9ff.tar.gz
ask-language-pack-2fbe74b2098d475a741a4b662f6376a5a2f0f9ff.tar.bz2
Merge pull request #229 from AnySoftKeyboard/breaking-up-dslsHEADmaster
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