Release procedure for dependency-analysis-android-gradle-plugin
- Update CHANGELOG
- Update README if needed
- Bump version number in
gradle.properties
to next stable version (use semantic versioning: x.y.z), with the-SNAPSHOT
suffix (we publish a snapshot first for smoke testing). - Publish the snapshot to Maven Central and Gradle Plugin Portal:
./gradlew publishEverywhere
- Remove the
-SNAPSHOT
suffix from the version name and publish again:./gradlew publishEverywhere
(this will automatically run the tests, including smoke tests, and won't publish if any fail) - git commit -am "Prepare for release x.y.z."
- git tag -a vx.y.z -m "Version x.y.z"
- Update version number
gradle.properties
to next snapshot version (x.y.z-SNAPSHOT) - git commit -am "Prepare next development version."
- git push && git push --tags
- Follow instructions in console output to release from Maven Central's staging repo.
nb: if there are ever any issues with publishing to the Gradle Plugin Portal, open an issue on https://github.com/gradle/plugin-portal-requests/issues and email [email protected].