summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Zugaldia <antonio@mapbox.com>2018-06-11 14:23:10 -0400
committerAntonio Zugaldia <antonio@mapbox.com>2018-06-11 14:23:10 -0400
commitdfd429f10eecae23f2121b89bca173ddc5402602 (patch)
tree2aa64ec496c3979529d20ca0be043665531e3e26
parentcb8211dcd31c3f432ff3302e45cc4f7f68ffcc70 (diff)
downloadqtlocation-mapboxgl-upstream/az-fabric.tar.gz
[android] fabric step in release.py no longer necessaryupstream/az-fabric
-rw-r--r--platform/android/scripts/release.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/platform/android/scripts/release.py b/platform/android/scripts/release.py
index ce554d1362..d0abd1eeaf 100644
--- a/platform/android/scripts/release.py
+++ b/platform/android/scripts/release.py
@@ -59,8 +59,6 @@ ALLOWED_PRE_RELEASE = ['beta']
MAPBOX_GL_ANDROID_SDK_PATH = '../MapboxGLAndroidSDK'
GRADLE_PROPERTIES_PATH = '%s/gradle.properties' % MAPBOX_GL_ANDROID_SDK_PATH
GRADLE_TOKEN = 'VERSION_NAME='
-FABRIC_PROPERTIES_PATH = '%s/src/main/resources/fabric/com.mapbox.mapboxsdk.mapbox-android-sdk.properties' % MAPBOX_GL_ANDROID_SDK_PATH
-FABRIC_TOKEN = 'fabric-version='
# Triggers a new build, returns a summary of the build
URL_CIRCLECI = 'https://circleci.com/api/v1.1/project/github/mapbox/mapbox-gl-native/tree/' # + :branch
@@ -144,10 +142,7 @@ def publish_final(branch, version):
dirty_gradle = update_current_version(file_path=GRADLE_PROPERTIES_PATH, file_var=GRADLE_TOKEN, version=version)
if dirty_gradle:
git_add(path=GRADLE_PROPERTIES_PATH)
- dirty_fabric = update_current_version(file_path=FABRIC_PROPERTIES_PATH, file_var=FABRIC_TOKEN, version=version)
- if dirty_fabric:
- git_add(path=FABRIC_PROPERTIES_PATH)
- if dirty_gradle or dirty_fabric:
+ if dirty_gradle:
git_commit_and_push(branch=branch, version=version)
do_circleci_request(branch=branch)