Skip to content

Release instructions

Michalis Vitos edited this page May 17, 2017 · 11 revisions

Release instructions

Beta releases (2.0.0-beta-X)

  1. Edit or create CollectorAndroid/beta-notes.txt to list changes since last release.
  2. Edit the version in the root build.gradle to the correct version e.g. 2.0.0-beta-X
  3. Ensure that Sapelli builds correctly by running: gradlew assembleRelease
  4. Run in the root directory: gradlew releaseSapelliCollector. This will do full release build and uploads the APK to Fabric, commit the changes on git and tag the commit with the version.
  5. Push to github, including tags
  6. Create a new release on github based on the v2.0.0-beta-X tag and attach the apk to it (take it from the dir: CollectorAndroid\build\outputs\apk\sapelli-collector-android-2.0.0-beta-X-release.apk)
  7. Release the same APK file on Google Play
  8. Edit the version in build.gradle to the correct 2.0.0-SNAPSHOT (!!!)
  9. Commit to git (message: Changed version to 2.0.0-SNAPSHOT to open development of v2.0.0-beta-X+1)
  10. Push to github

Version increases (e.g. 2.0.0 -> 2.0.1)

TODO