The name of the branch is release-x.y.z, according to the release number.
git checkout -b 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 master..develop to see what's changed
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.
git commit -a -m "Prepare for release x.y.z."
./gradlew publishRelease
-
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 checkout master
git merge --no-ff release-x.y.z
git tag -a x.y.z -m "Code for the x.y.z release."
git checkout develop
git merge --no-ff release-x.y.z
git branch -d release-x.y.z