Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 3c9aff4

Browse files
authored
[build] Add scripts to manually publish to SDK-Registry. (#585)
1 parent ac3f223 commit 3c9aff4

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

Diff for: Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,12 @@ run-android-test-app-center:
245245
run-android-upload-to-sdk-registry: gradle/configuration.gradle
246246
$(MBGL_ANDROID_GRADLE) -Pmapbox.abis=all :MapboxGLAndroidSDK:mapboxSDKRegistryUpload
247247

248+
# Publishes the Android SDK to Mapbox SDK Registry
249+
.PHONY: run-android-publish-to-sdk-registry
250+
run-android-publish-to-sdk-registry: gradle/configuration.gradle
251+
python3 -m pip install git-pull-request
252+
$(MBGL_ANDROID_GRADLE) -Pmapbox.abis=all :MapboxGLAndroidSDK:mapboxSDKRegistryPublish
253+
248254
# Dump system graphics information for the test app
249255
.PHONY: android-gfxinfo
250256
android-gfxinfo:

Diff for: MapboxGLAndroidSDK/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=9.5.0
1+
VERSION_NAME=9.6.0-alpha.1
22

33
# Only build native dependencies for the current ABI
44
# See https://code.google.com/p/android/issues/detail?id=221098#c20
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
MapboxGLAndroidSDK/9.5.0
1+
MapboxGLAndroidSDK/9.6.0-alpha.1
22
v-1

Diff for: gradle/gradle-sdk-registry.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ registry {
4949
snapshot = false
5050
override = false
5151
dryRun = false
52+
publish = true
5253
publications = ["MapboxAndroidMapsSdk"]
5354
}
5455

0 commit comments

Comments
 (0)