[android] ignore SNAPSHOT builds

This commit is contained in:
Łukasz Paczos
2019-03-07 15:32:35 +01:00
committed by Łukasz Paczos
parent d1109257dc
commit b4e315ee28

View File

@@ -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: