-
Create a pull request named
Release vx.y.z(add the Github tagrelease). -
Describe the new features and the bug fixes in the CHANGELOG.md file.
-
Upgrade the
x.y.zversion inlibversion.gradleif necessary (it may have been bumped already for SNAPSHOT versioning):
ext.libversion="x.y.z"-
Submit your pull request.
-
Once the branch is merged into
master, create a new tag.git tag <tag_name>
Push it on origin.
git push origin <tag_name>
circleci will automatically trigger a build, run the tests and publish the new version of the SDK on
MavenCentral.It's important to push the tag separately otherwise the deployment job is not triggered (https://support.circleci.com/hc/en-us/articles/115013854347-Jobs-builds-not-triggered-when-pushing-tag).
Refer to the .circleci/config.yml file to set up the integration.
-
Finally, create a new release in the Github releases tab (copy & paste the changelog in the release's description).