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.