Skip to content

Commit

Permalink
CI: automatic upload to Sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Oct 26, 2024
1 parent 89adb2c commit 347873a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,9 @@ tasks {
dependsOn(packSonatypeCentralBundle)

doLast {
// https://central.sonatype.org/publish/publish-portal-api/#uploading-a-deployment-bundle
val uriBase = rootProject.extra["centralPortalApiUrl"] as String
val publicationType = "USER_MANAGED"
val publicationType = "AUTOMATIC"
val deploymentName = "rd-$version"
val uri = "$uriBase?name=$deploymentName&publicationType=$publicationType"

Expand Down

0 comments on commit 347873a

Please sign in to comment.