From d31c054d40d7cf8c517753211f97a5cc132a65e9 Mon Sep 17 00:00:00 2001 From: Yang Date: Fri, 23 Feb 2024 21:53:02 +1100 Subject: [PATCH] Update publishing task. --- .github/workflows/ci.yml | 2 +- RELEASING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 307f0f0..f7fb991 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,4 +72,4 @@ jobs: with: gradle-home-cache-cleanup: true - name: Publish snapshot - run: ./gradlew publishAllPublicationsToMavenCentral + run: ./gradlew publishToMavenCentral diff --git a/RELEASING.md b/RELEASING.md index fe814ac..47713a9 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -4,7 +4,7 @@ 2. Update the `CHANGELOG.md` for the impending release. 3. Update the `README.md` with the new version. 4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version). -5. `./gradlew publishAllPublicationsToMavenCentral` +5. `./gradlew publishAndReleaseToMavenCentral` 6. Visit [Sonatype Nexus](https://s01.oss.sonatype.org/) to verify the release has been completed. 7. `git tag -a X.Y.X -m "X.Y.Z"` (where X.Y.Z is the new version) 8. Update the top-level `gradle.properties` to the next SNAPSHOT version.