Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.12 KB

RELEASE.md

File metadata and controls

44 lines (30 loc) · 1.12 KB

Release process

  1. Update CHANGELOG.md. Include changes to the source code, changes to the version of compile dependencies, etc. Do NOT include changes to the buildscript, version of test dependencies, etc.

  2. Update version string in build.gradle (1x), README.md (2x) to the new (non-SNAPSHOT) version.

./scripts/version.sh OLD_VERSION NEW_VERSION
  1. Commit "Release x.y.z", tag this commit with the new version "x.y.z".
git add README.md build.gradle
git commit -m "Release NEW_VERSION"
git tag -a NEW_VERSION -m "Version NEW_VERSION"
git push --tags
  1. Deploy to OSSRH with Gradle:
./gradlew -Prelease clean publish
  1. Releasing the Deployment:
./gradlew -Prelease closeAndReleaseRepository
  1. Increment to next version and add a -SNAPSHOT suffix
./scripts/version.sh OLD_VERSION NEW_VERSION-SNAPSHOT
  1. Create a commit for the new version "Set version to a.b.c-SNAPSHOT"
git add README.md build.gradle
git commit -m "Set version to NEW_VERSION-SNAPSHOT"