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:
./gradlew :publishEverywhere
- Remove the
-SNAPSHOT
suffix from the version name. git commit -am "Prepare for release x.y.z."
- Publish again:
./gradlew :publishEverywhere -x :functionalTest
(this will automatically run the smoke tests, and won't publish if they fail) git tag -a vx.y.z -m "Version x.y.z."
- Update version number in
gradle.properties
to next snapshot version (x.y.z-SNAPSHOT) git commit -am "Prepare next development version."
git push && git push --tags
- (Optional) Follow instructions in console output to release from Maven Central's staging repo.
This step is now automated via the
:promote
task, and should only be necessary if that task fails.
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].