Edit gradle.properties and update the version information :
- pom.version (usually just remove SNAPSHOT)
- android.versionCode (it’s probably already okay)
Commit the change and tag with git.
Use the tag name: 'osmdroid-parent-{version}' to keep in line with the previous releases.
git push
Edit your user gradle.properties (~/.gradle/gradle.properties) and set the following properties :
# Credentials for Maven Central
NEXUS_USERNAME=***
NEXUS_PASSWORD=***
GPG_PATH=***
signing.password=***
signing.keyId=***
# Google Play signing key
android.signingConfigs.release.storeFile=***
android.signingConfigs.release.storePassword=***
android.signingConfigs.release.keyAlias=***
android.signingConfigs.release.keyPassword=***
./gradlew clean
./gradlew install -Pprofile=ci
./gradlew publishArtifacts -Pprofile=sources,javadoc
./gradlew cC
./gradlew site
Go to Sonatype, select “staging repositories”, check osmdroid and click “close” and then “release”.
https://github.com/osmdroid/osmdroid/releases/new
Output zip is at osmdroid-dist/build/distributions/
Output APK is at OpenStreetMapViewer\build\outputs\apk\OpenStreetMapViewer-{version}-release.apk
Copy the contents of "build/src" into a separate clone of osmdroid on the branch gh-pages
, commit and push.
Update readme.md to have the current version number listed.
Edit gradle.properties and update the version information :
- pom.version (next SNAPSHOT)
- android.versionCode (increment by 1)
git commit and push
Update the change log Update the upgrade guide