From 4d20bba5da4918cbe315b4a0e72bd50cea1451c9 Mon Sep 17 00:00:00 2001 From: Dariusz Kuc <9501705+dariuszkuc@users.noreply.github.com> Date: Wed, 15 May 2024 11:26:28 -0500 Subject: [PATCH] chore: update publish-plugin to v2 (#393) --- .github/workflows/release.yml | 2 +- build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aed0c608..c8ce6332 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: run: | NEW_VERSION=$(echo "${GITHUB_REF}" | sed 's/.*\/v//') echo "New version: ${NEW_VERSION}" - ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Pversion=${NEW_VERSION} + ./gradlew publishToSonatype closeAndReleaseStagingRepositories -Pversion=${NEW_VERSION} env: SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }} SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} diff --git a/build.gradle.kts b/build.gradle.kts index ef9e8508..06990417 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("io.github.gradle-nexus.publish-plugin") version "1.3.0" + id("io.github.gradle-nexus.publish-plugin") version "2.0.0" } tasks {