summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2019-03-07 15:32:35 +0100
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2019-03-07 18:46:51 +0100
commitb4e315ee28539efe0497ea53fe45e485b8eb31e0 (patch)
treee6d88f4dcadde5799f183890a92b8740ebf9856b /circle.yml
parentd1109257dc4c47fe45b5c03816c46698e5d7a384 (diff)
downloadqtlocation-mapboxgl-b4e315ee28539efe0497ea53fe45e485b8eb31e0.tar.gz
[android] ignore SNAPSHOT builds
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index 87e79344e7..d8a2ed8841 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 [[ $version != *"SNAPSHOT"* ]]; then
+ make run-android-upload-to-bintray
+ fi
fi
# ------------------------------------------------------------------------------
android-debug-arm-v7-buck: