Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 950 Bytes

File metadata and controls

42 lines (29 loc) · 950 Bytes

Release process

  1. 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"