Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] Remove support for Fabric (#12126)
Browse files Browse the repository at this point in the history
* [android] remove fabric properties file
* [android] fabric.properties no longer present
* [android] fabric step in release.py no longer necessary

(cherry picked from commit a8e7963)
  • Loading branch information
zugaldia authored and LukasPaczos committed Jun 20, 2018
1 parent 4628173 commit 900bfa4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
3 changes: 0 additions & 3 deletions platform/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ gradle/configuration.gradle
# Token file
MapboxGLAndroidSDKTestApp/src/main/res/values/developer-config.xml

# Twitter Fabric / Crashlytics
fabric.properties

# Capture files
captures/

Expand Down

This file was deleted.

7 changes: 1 addition & 6 deletions platform/android/scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 900bfa4

Please sign in to comment.