Skip to content

Commit 4d20bba

Browse files
authored
chore: update publish-plugin to v2 (#393)
1 parent 411a43a commit 4d20bba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: |
3030
NEW_VERSION=$(echo "${GITHUB_REF}" | sed 's/.*\/v//')
3131
echo "New version: ${NEW_VERSION}"
32-
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Pversion=${NEW_VERSION}
32+
./gradlew publishToSonatype closeAndReleaseStagingRepositories -Pversion=${NEW_VERSION}
3333
env:
3434
SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
3535
SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
2+
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
33
}
44

55
tasks {

0 commit comments

Comments
 (0)