Skip to content

Commit e994831

Browse files
committed
Temporarily prevent auto publishing
1 parent 3f3dbe3 commit e994831

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

buildSrc/src/main/kotlin/publish-conventions.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import org.jreleaser.model.Active
2+
import org.jreleaser.model.api.deploy.maven.MavenCentralMavenDeployer
23

34
plugins {
45
`maven-publish`
@@ -52,6 +53,7 @@ jreleaser {
5253
mavenCentral {
5354
register("sonatype") {
5455
active = Active.RELEASE
56+
stage = MavenCentralMavenDeployer.Stage.UPLOAD
5557
url = "https://central.sonatype.com/api/v1/publisher"
5658
stagingRepository(stagingDirectory.asFile.relativeTo(projectDir).path)
5759
}

0 commit comments

Comments
 (0)