- Change the version in
buildSrc/gradle.propertiesto a non-SNAPSHOT version. (i.e., remove the -SNAPSHOT suffix) - Update the
README.mdand README-zh.md with the new version. - Update the
CHANGELOG.mdfor the impending release. git commit -am "Prepare for release X.Y.Z."(where X.Y.Z is the new version)git tag -a X.Y.Z -m "Version X.Y.Z"(where X.Y.Z is the new version)git push && git push --tags
- Using github UI to create a release from a tag (https://github.com/uber/okbuck/releases/new?tag=vX.Y.Z)
- Click on Tags
- Find your new tag and select "Create Release" from the context menu.
- Auto-generate and edit release notes as necessary.
./gradlew clean publish --no-daemon --no-parallel && ./gradlew closeAndReleaseRepository
- Update the
buildSrc/gradle.propertiesto the next SNAPSHOT version. git commit -am "Prepare next development version."git push