File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 96
96
java-version : 11
97
97
98
98
- name : Build and release
99
- run : ./gradlew githubRelease publishToSonatype closeAndReleaseStagingRepository releaseSummary
99
+ run : ./gradlew githubRelease publishToSonatype closeAndReleaseStagingRepositories releaseSummary
100
100
env :
101
101
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
102
102
NEXUS_TOKEN_USER : ${{secrets.NEXUS_TOKEN_USER}}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
id " org.shipkit.shipkit-changelog" version " 1.2.0"
4
4
id " org.shipkit.shipkit-github-release" version " 1.2.0"
5
5
id " org.shipkit.shipkit-auto-version" version " 1.2.2"
6
- id " io.github.gradle-nexus.publish-plugin" version " 1.3 .0"
6
+ id " io.github.gradle-nexus.publish-plugin" version " 2.0 .0"
7
7
id " org.jetbrains.kotlin.jvm" version " 1.9.20" apply false
8
8
id " org.jetbrains.dokka" version " 1.9.10" apply false
9
9
}
@@ -59,7 +59,7 @@ if (isSnapshot) {
59
59
// snapshot versions do not produce changelog / Github releases
60
60
enabled = false
61
61
}
62
- tasks. named(" closeAndReleaseStagingRepository " ) {
62
+ tasks. named(" closeAndReleaseStagingRepositories " ) {
63
63
// snapshot binaries are available in Sonatype without the need to close the staging repo
64
64
enabled = false
65
65
}
You can’t perform that action at this time.
0 commit comments