-
-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba04293
commit d490714
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]. |