summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2019-03-07 15:32:35 +0100
committerŁukasz Paczos <lukas.paczos@gmail.com>2019-03-07 16:00:21 +0100
commit6d58eb8da83dd1ee3a14631c622aee0df5f9eb40 (patch)
tree1886ac812e23711aead5779b1109813c6c0fa5d5
parent4ce6bac5170405da93920ad6c6c031d349ee3164 (diff)
downloadqtlocation-mapboxgl-6d58eb8da83dd1ee3a14631c622aee0df5f9eb40.tar.gz
-rw-r--r--circle.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index 87e79344e7..170a035690 100644
--- a/circle.yml
+++ b/circle.yml
@@ -669,7 +669,10 @@ jobs:
name: Publish to Bintray
command: |
if [[ $CIRCLE_BRANCH == master ]] || [[ $CIRCLE_BRANCH == release-* ]] || [[ $CIRCLE_TAG == android-v* ]]; then
- make run-android-upload-to-bintray
+ version=`cat platform/android/MapboxGLAndroidSDK/gradle.properties | grep "VERSION_NAME"`
+ if [[ -n $version == *"SNAPSHOT"* ]]; then
+ make run-android-upload-to-bintray
+ fi
fi
# ------------------------------------------------------------------------------
android-debug-arm-v7-buck: