Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 1.22 KB

File metadata and controls

21 lines (19 loc) · 1.22 KB

Release procedure for dependency-analysis-android-gradle-plugin

  1. Update CHANGELOG
  2. Update README if needed
  3. 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).
  4. Publish the snapshot to Maven Central and Gradle Plugin Portal: ./gradlew publishEverywhere
  5. Remove the -SNAPSHOT suffix from the version name.
  6. git commit -am "Prepare for release x.y.z."
  7. Publish again: ./gradlew publishEverywhere (this will automatically run the tests, including smoke tests, and won't publish if any fail)
  8. git tag -a vx.y.z -m "Version x.y.z"
  9. Update version number gradle.properties to next snapshot version (x.y.z-SNAPSHOT)
  10. git commit -am "Prepare next development version."
  11. git push && git push --tags
  12. (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].