Skip to content

Commit c0b1655

Browse files
committed
Change the default to AUTOMATIC
1 parent 1cbea6b commit c0b1655

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/kotlin/nmcp/CentralPortalOptions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ abstract class CentralPortalOptions {
2020
* - "AUTOMATIC": the deployment is automatically published.
2121
* - "USER_MANAGED": the deployment is validated but not published. It must be published manually from the Central Portal UI.
2222
*
23-
* Default: USER_MANAGED
23+
* Default: AUTOMATIC
2424
*/
2525
abstract val publishingType: Property<String>
2626

src/main/kotlin/nmcp/internal/task/publishRelease.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fun publishRelease(
5454
)
5555
.build()
5656

57-
val publishingType = publishingType ?: "USER_MANAGED"
57+
val publishingType = publishingType ?: "AUTOMATIC"
5858

5959
val baseUrl = baseUrl ?: "https://central.sonatype.com/"
6060

0 commit comments

Comments
 (0)