Skip to content

Latest commit

 

History

History
79 lines (46 loc) · 2.08 KB

File metadata and controls

79 lines (46 loc) · 2.08 KB

Releasing Squeezer

Create a release branch from the develop branch.

The name of the branch is release-x.y.z, according to the release number.

git switch -c release-x.y.z develop

Make 1-n releases from the branch

Repeat the following process for each release. Beta versions are named x.y.z-beta-n, where n starts at 1.

Update the version numbers.

Edit Squeezer/build.gradle. Edit the versionCode and versionName values.

Update the release notes.

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)

Update the default.txt release-note files.

Run ./gradlew generateWhatsNew to update the files.

Update the NEWS file.

Run ./gradlew generateNews to update the file.

Generate and test the release APK

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.

Update the screenshots (if necessary).

Take new screenshots for market/screenshots, and commit them. Run ./gradlew publishListing

Commit the changes

git commit -a -m "Prepare for release x.y.z."

Upload to Google Play (beta, and production)

./gradlew publishReleaseApk

Upload to Amazon Appstore

Post production-release steps

Carry out the following steps when the production release has been posted, and the release branch is no longer necessary.

Merge the changes back to the develop branch and tag the release.

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

Delete the release branch

git branch -d release-x.y.z