Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.08 KB

RELEASING.md

File metadata and controls

29 lines (25 loc) · 1.08 KB

Releasing

Steps to put out a new release:

  • Commit any changes
  • Update any copyright notices
  • Adjust the versionName to the current date (YYYY-MM-DD), and increment the versionCode (both are defined in build.gradle)
  • If using Android Studio, run "Sync project with gradle files"
  • Build and test
    • Change the build variant to "Android Instrumentation Tests"
    • Run the individual test files in androidTest/java/com/plantandfood/aspirelite/ (right click on the file in Android Studio, click "Run ...")
    • Change the build variant to "Unit Tests"
    • Run the individual test files in test/java/com/plantandfood/aspirelite/ (right click on the file in Android Studio, click "Run ...")
  • Fix any failures
  • Commit any remaining changes
  • Tag the commit to be released off (VCS->Git->Tag in Android studio, the tag name should be the same as the versionName)
  • Sign with the appropriate key and release
    • In Android Studio, Build->Generate Signed APK...
    • Use the correct keystore, with the AspireLiteKey

Release locations:

  • Github's releases
  • Android's web store
  • Other? (F-Droid?)