File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5353 OSSATUBER_PASSWORD : ${{ secrets.OSSATUBER_PASSWORD }}
5454 OSSATUBER_USERNAME : ${{ secrets.OSSATUBER_USERNAME }}
5555 run : | # TODO old way of setting the properties from environment variables in gradle
56- ./gradlew publishToSonatype closeSonatypeStagingRepository --info \
56+ ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --info \
5757 -Psigning.keyId="${SIGNING_KEY_ID}" \
5858 -Psigning.password="${SIGNING_PASSWORD}" \
5959 -Psigning.key="${SIGNING_KEY}" \
Original file line number Diff line number Diff line change @@ -299,9 +299,9 @@ publishing {
299299 password ossrhPassword
300300 }
301301 if (project. version. endsWith(' -SNAPSHOT' )) {
302- url ' https://oss. sonatype.org /content/repositories/snapshots/'
302+ url ' https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots/'
303303 } else {
304- url ' https://oss. sonatype.org /service/local/staging/deploy/maven2/'
304+ url ' https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/'
305305 }
306306 }
307307 }
@@ -312,8 +312,8 @@ nexusPublishing {
312312 sonatype {
313313 username. set(ossrhUsername)
314314 password. set(ossrhPassword)
315- nexusUrl. set(uri(" https://oss. sonatype.org /service/local/" ))
316- snapshotRepositoryUrl. set(uri(" https://oss. sonatype.org /content/repositories/snapshots/" ))
315+ nexusUrl. set(uri(" https://ossrh-staging-api.central. sonatype.com /service/local/" ))
316+ snapshotRepositoryUrl. set(uri(" https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots/" ))
317317 }
318318 }
319319}
You can’t perform that action at this time.
0 commit comments