- Change the version in the top level
build.gradleto a non-SNAPSHOT version. - Update
DbxSdkVersion.javato a non-SNAPSHOT version. - Update the
ChangeLog.txtfor the impending release. - Update the
ReadMe.mdwith the new version. git commit -am "Prepare for release X.Y.Z"(where X.Y.Z is the new version)git tag -a vX.Y.Z -m "Version X.Y.Z"(where X.Y.Z is the new version)- Run
git tagto verify it
- Run
git push --follow-tags- This should be pushed to your fork
- Create a PR with this commit and merge it.
- Update the top level
build.gradleto the next-SNAPSHOTversion. - Update
DbxSdkVersion.javato the next-SNAPSHOTversion. git commit -am "Prepare next development version"- Create a PR with this commit and merge it.
- Login to Sonatype to promote the artifacts https://central.sonatype.org/pages/releasing-the-deployment.html
- Click on Staging Repositories under Build Promotion
- Select all the Repositories that contain the content you want to release
- Click on Close and refresh until the Release button is active
- Click Release and submit
- Create a GitHub release with the title vX.Y.Z. Attach .zip and .tar archives and signature files from
build/distributionsdirectory. - Update gh-pages. Add or replace the files within
https://github.com/dropbox/dropbox-sdk-java/tree/gh-pageswith the files insidedropbox-sdk-java/build/docs/javadoc - Push these changes to GitHub.