- Change the version in
buildSrc/gradle.properties
to a non-SNAPSHOT version. (i.e., remove the -SNAPSHOT suffix) - Update the
README.md
and README-zh.md with the new version. - Update the
CHANGELOG.md
for 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.properties
to the next SNAPSHOT version. git commit -am "Prepare next development version."
git push