Skip to content

Commit

Permalink
Update gradle-nexus.publish-plugin from 1.3.0 to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Apr 8, 2024
1 parent d8a01f0 commit fd429bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -96,7 +96,7 @@ jobs:
java-version: 11

- name: Build and release
run: ./gradlew githubRelease publishToSonatype closeAndReleaseStagingRepository releaseSummary
run: ./gradlew githubRelease publishToSonatype closeAndReleaseStagingRepositories releaseSummary
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NEXUS_TOKEN_USER: ${{secrets.NEXUS_TOKEN_USER}}
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -3,7 +3,7 @@ plugins {
id "org.shipkit.shipkit-changelog" version "1.2.0"
id "org.shipkit.shipkit-github-release" version "1.2.0"
id "org.shipkit.shipkit-auto-version" version "1.2.2"
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
id "io.github.gradle-nexus.publish-plugin" version "2.0.0"
id "org.jetbrains.kotlin.jvm" version "1.9.20" apply false
id "org.jetbrains.dokka" version "1.9.10" apply false
}
Expand Down Expand Up @@ -59,7 +59,7 @@ if (isSnapshot) {
//snapshot versions do not produce changelog / Github releases
enabled = false
}
tasks.named("closeAndReleaseStagingRepository") {
tasks.named("closeAndReleaseStagingRepositories") {
//snapshot binaries are available in Sonatype without the need to close the staging repo
enabled = false
}
Expand Down

0 comments on commit fd429bb

Please sign in to comment.