The name of the branch is release-x.y.z, according to the release number.
git switch -c release-x.y.z develop
Repeat the following process for each release. Beta versions are named x.y.z-beta-n, where n starts at 1.
Edit Squeezer/build.gradle. Edit the versionCode and versionName
values.
Edit Squeezer/src/main/res/xml/changelog_master.xml with the details.
Run git log x.y.z..develop to see what's changed (where x.y.z is previous release)
Run ./gradlew generateWhatsNew to update the files.
Run ./gradlew generateNews to update the file.
From the top level directory, run:
./gradlew build
./gradlew installRelease
Verify that the version number in the About dialog is correct and that Squeezer works correctly.
Take new screenshots for market/screenshots, and commit them.
Run ./gradlew publishListing
git commit -a -m "Prepare for release x.y.z."
./gradlew publishReleaseApk
-
Go to https://developer.amazon.com/home.html, signed in as android.squeezer@gmail.com.
-
Find the existing entry for Squeezer, and upload the new APK.
-
Include the contents of
production.txtfor this release in the "Recent Changes" section.
Carry out the following steps when the production release has been posted, and the release branch is no longer necessary.
git switch develop
git merge release-x.y.z
git tag -a x.y.z -m "Code for the x.y.z release."
git push origin x.y.z
git branch -d release-x.y.z