These are the steps for releasing an updated version of the Particle SDK.
For example, if you were releasing version 2.4.2
, you'd do the following:
- Make sure the CHANGELOG is current
- Pull from origin to ensure you have the latest upstream changes
- Update the
version
field incloudsdk/build.gradle
to'2.4.2'
- Build a release and publish it to JCenter. From the
cloudsdk
dir, do:../gradlew clean build install bintrayUpload
- Submit a PR to the docs site updating the version code in
android.md
to2.4.2
- Update the example app to pull the new version from JCenter, clean its build, and then build & run the example app as a final smoke test.
- Commit and push the previous two changes
- Tag the release:
git tag v2.4.2
(note the "v" at the beginning) - Push the tag:
git push origin v2.4.2
(again, note the "v") - (if applicable) announce the update via the appropriate channels