From 0f2016a5e5d4fede0bd8236753722e6238481b87 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Mon, 5 May 2025 15:39:06 +0200 Subject: [PATCH 1/2] [#2222] Set the dry run option from the parameters rather than keeping it always set to `true` --- ci/release/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) From 703509ec3ba69d1f46afed67d8493ab5e03f3326 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Mon, 5 May 2025 15:43:59 +0200 Subject: [PATCH 2/2] [#2222] Set the dry run option from the parameters rather than keeping it always set to `true` also release the staging repository automatically --- jreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: