Release procedure for dependency-analysis-android-gradle-plugin
- Update CHANGELOG
- Update README if needed
- Bump version number in
gradle.propertiesto next stable version (use semantic versioning: x.y.z) with the-SNAPSHOTsuffix (we publish a snapshot first for smoke testing). - Publish the snapshot to Maven Central:
./gradlew :publishEverywhere - Remove the
-SNAPSHOTsuffix from the version name. git commit -am "chore: 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.propertiesto next snapshot version (x.y.z-SNAPSHOT) git commit -am "chore: 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
:promotetask, 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 plugin-portal-support@gradle.com.