When a release branch is ready to be merged into master and in turn deployed to the Play Store. In the release branch:
- Update CHANGELOG.md
- Add title with the release
versionName
- Add list of commits since last release in date descending order, not including any merge commits or release notes related commits
- Update listing metadata with what was added to
CHANGELOG.md
- Commit changes
git commit -am '{versionName} release notes'
- Create a PR into master, review, merge and close the old release branch if all is OK
- Create a new release branch off latest master
git checkout -b {versionName}
- Bump
versionName
inapp/build.gradle
to match new branch name - Update previous
CHANGELOG.md
entry to append title with the build commit of that release - Commit changes
git commit -am 'bump versionName and add commit hash to {versionName} release notes'
- Tag and push
- If the build was a public release tag its build commit
git tag -a {versionName} {previous merge commit}
- Push it
git push && git push --tags
- Branch off here to work on feature relevant to this release