This is an example project showing step-by-step how to build an automated release workflow for an open-source project.
There's a related post describing each step in detail.
Each step in the tutorial is a numbered branch in this Git repository so you can see at each stage what changes.
The steps are:
- Build standard source and javadoc jars and publish to a local Maven repository. diff
- Apply semantic versioning and link release versions to Git tags. diff
- Publish artifacts to Bintray. diff
- Automate the whole process using CircleCI so that simply creating a release on GitHub triggers publishing of artifacts to Bintray. diff
You can see the published artifacts on Bintray and the continuous integration workflow on CircleCI.