Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 758 Bytes

RELEASING.md

File metadata and controls

16 lines (12 loc) · 758 Bytes

Releasing

  1. Change the VERSION_NAME value in gradle.properties to the version number to be released.
  2. Update the README.md with the new version and update CHANGELOG.md
  3. ./gradlew clean build
  4. git commit -am "Prepare for release X.Y.Z." (where X.Y.Z is the new version)
  5. git tag -a X.Y.Z -m "Version X.Y.Z" -m "Changelog message 1" -m "Changelog message 2" -m "Changelog message 3"
  6. git push && git push --tags

Note: To get the changelog messages from the commit history, issue

git log "$(git tag | tail -n2 | head -n1)..$(git tag | tail -n1)" --oneline --invert-grep --grep="Merge pull request" --grep="Prepare for release" | cut -d' ' -f2- | sed -E -e 's/^/-m "/' | sed -E -e 's/$/"/'