Skip to content

Commit

Permalink
chore: update publish-plugin to v2 (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszkuc authored May 15, 2024
1 parent 411a43a commit 4d20bba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 4d20bba

Please sign in to comment.