Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
autonomousapps committed Oct 27, 2023
1 parent ba04293 commit d490714
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Release procedure for dependency-analysis-android-gradle-plugin
1. git commit -am "Prepare for release x.y.z."
1. Publish again: `./gradlew :publishEverywhere --no-configuration-cache`
(this will automatically run the tests, including smoke tests, and won't publish if any fail)
1. git tag -a vx.y.z -m "Version x.y.z"
1. Update version number `gradle.properties` to next snapshot version (x.y.z-SNAPSHOT)
1. git tag -a vx.y.z -m "Version x.y.z."
1. Update version number in `gradle.properties` to next snapshot version (x.y.z-SNAPSHOT)
1. git commit -am "Prepare next development version."
1. git push && git push --tags
1. (Optional) Follow instructions in console output to release from Maven Central's staging repo.
Expand Down
18 changes: 18 additions & 0 deletions testkit/RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Release procedure for testkit

1. Update CHANGELOG
1. Update README if needed
1. Remove the `-SNAPSHOT` suffix from the version name in `testkit/build.gradle.kts`.
1. git commit -am "Prepare for testkit release x.y.z."
1. Publish again: `./gradlew :testkit:publishToMavenCentral --no-configuration-cache`
(this will automatically run the tests, including smoke tests, and won't publish if any fail)
1. git tag -a testkit-x.y -m "Testkit version x.y."
1. Update version number in `testkit/build.gradle.kts` to next snapshot version (x.y-SNAPSHOT)
1. git commit -am "Prepare next development version of testkit."
1. git push && git push --tags
1. (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].

0 comments on commit d490714

Please sign in to comment.