- Choose a version number per Semantic Versioning. Let's call it
x.y.z
. - Create a release ticket with release highlights and release steps
- [ ] Update HTTP User Agent Version in MapboxConstants.java
- [ ] Update VERSION_NAME to `x.y.z` in [/MapboxAndroidSDK/gradle.properties](https://github.com/mapbox/mapbox-android-sdk/blob/mb-pages/MapboxAndroidSDK/gradle.properties)
- [ ] Publish `x.y.z` artifact to Central Repository
- [ ] Update [README](https://github.com/mapbox/mapbox-android-sdk/blob/mb-pages/README.md) to list current and snapshot build numbers
- [ ] Update Mapbox.com Documentation (requires `x.y.z` to be found on http://search.maven.org - usually a few hours after release)
- [ ] Tag `x.y.z` in GitHub
- [ ] Update VERSION_NAME to `x.y+1.z-SNAPSHOT` in [/MapboxAndroidSDK/gradle.properties](https://github.com/mapbox/mapbox-android-sdk/blob/mb-pages/MapboxAndroidSDK/gradle.properties)
- [ ] Update Demo Project to use new `x.y.z` artifact from Central Repository
- [ ] Push new updated Demo App to Google Play
- [ ] Move non completed issues from `x.y.z` to `x.y+1.z` milestone
- [ ] Close Milestone `x.y.z` in GitHub
-
Add Nexus Repository and Signing Credentials To /MapboxAndroidSDK/gradle.properties (DO NOT COMMIT)
-
In Terminal
cd MapboxAndroidSDK ./deploy.sh
-
Follow instructions to Close Staging Repository and Release To Central Repository
-
Remove Nexus Repository and Signing Credentials From /MapboxAndroidSDK/gradle.properties
- Follow instructions in /docs/README.md
- Update Mapbox Android SDK dependency, Version Code, and Version Name in /MapBoxAndroidDemo/build.gradle
- Build .apk with
./gradlew clean assembleRelease
from command line - Sign
MapBoxAndroidDemo/build/outputs/apk/MapBoxAndroidDemo-release-unsigned.apk
with same signing credentials used in Publishing To Central Repository See Android documentation on doing this with Android Studio or Manually - Use
zipalign
to align the APK - Upload to Google Play. See @bleege or @tmcw for access.