diff --git a/ci/release/Jenkinsfile b/ci/release/Jenkinsfile index 4ae62e3f3..1c18b80d2 100644 --- a/ci/release/Jenkinsfile +++ b/ci/release/Jenkinsfile @@ -151,7 +151,7 @@ pipeline { env.DEVELOPMENT_VERSION = developmentVersion.toString() // Dry run is not supported at the moment env.SCRIPT_OPTIONS = params.RELEASE_DRY_RUN ? "-d" : "" - env.JRELEASER_DRY_RUN = true + env.JRELEASER_DRY_RUN = params.RELEASE_DRY_RUN // Determine version id to check if Jira version exists // This step doesn't work for Hibernate Reactive (the project has been created with a different type on JIRA) diff --git a/jreleaser.yml b/jreleaser.yml index f9428278e..e39594d95 100644 --- a/jreleaser.yml +++ b/jreleaser.yml @@ -24,7 +24,7 @@ deploy: url: https://oss.sonatype.org/service/local snapshotUrl: https://oss.sonatype.org/content/repositories/snapshots/ closeRepository: true - releaseRepository: false + releaseRepository: true stagingRepositories: - build/staging-deploy/maven mavenCentral: