We use JitPack for releasing.
- Switch to the
master
branch - Merge the latest changes from
develop
intomaster
- Update
build.gradle
andREADME.md
with the new version number - Run
gradlew javadoc
to update the published JavaDocs - Push
master
to GitHub - Create a new GitHub Release. This is what triggers JitPack to build and release the library.
- Merge
master
back intodevelop
(to get the version number update), and updatebuild.gradle
with a new snapshot version (e.g.1.0.0-SNAPSHOT
). This keeps the version of in-development builds separate from released builds.