1*bb5273feSAndroid Build Coastguard WorkerReleasing 2*bb5273feSAndroid Build Coastguard Worker======== 3*bb5273feSAndroid Build Coastguard Worker 4*bb5273feSAndroid Build Coastguard Worker 1. Change the version in top level `gradle.properties` to a non-SNAPSHOT verson. 5*bb5273feSAndroid Build Coastguard Worker 2. Update the `CHANGELOG.md` for the impending release. 6*bb5273feSAndroid Build Coastguard Worker 3. Update the `README.md` with the new version. 7*bb5273feSAndroid Build Coastguard Worker 4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version) 8*bb5273feSAndroid Build Coastguard Worker 5. `./gradlew clean uploadArchives`. 9*bb5273feSAndroid Build Coastguard Worker 6. Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact. 10*bb5273feSAndroid Build Coastguard Worker 7. `git tag -a X.Y.X -m "Version X.Y.Z"` (where X.Y.Z is the new version) 11*bb5273feSAndroid Build Coastguard Worker 8. Update the top level `build.gradle` to the next SNAPSHOT version. 12*bb5273feSAndroid Build Coastguard Worker 9. `git commit -am "Prepare next development version."` 13*bb5273feSAndroid Build Coastguard Worker 10. `git push && git push --tags` 14*bb5273feSAndroid Build Coastguard Worker 11. Update the sample module to point to the newly released version. (May take 2 hours) 15*bb5273feSAndroid Build Coastguard Worker 16*bb5273feSAndroid Build Coastguard WorkerIf step 5 or 6 fails, drop the Sonatype repo, fix the problem, commit, and start again at step 5. 17