Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 1.11 KB

File metadata and controls

18 lines (16 loc) · 1.11 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 and publish again: ./gradlew publishEverywhere (this will automatically run the tests, including smoke tests, and won't publish if any fail)
  6. git commit -am "Prepare for release x.y.z."
  7. git tag -a vx.y.z -m "Version x.y.z"
  8. Update version number gradle.properties to next snapshot version (x.y.z-SNAPSHOT)
  9. git commit -am "Prepare next development version."
  10. git push && git push --tags
  11. 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].