From b45f0cb7733d131134bc378a284fdc5956e8440e Mon Sep 17 00:00:00 2001 From: Sam Barker Date: Thu, 11 Jan 2024 21:24:34 +1300 Subject: [PATCH] default MVN_DEPLOY_DRYRUN to empty string rh-pre-commit.version: 2.0.1 rh-pre-commit.check-secrets: ENABLED --- scripts/stage-release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/stage-release.sh b/scripts/stage-release.sh index ebe092793d..80d0ee7294 100755 --- a/scripts/stage-release.sh +++ b/scripts/stage-release.sh @@ -122,6 +122,8 @@ if [[ "${DRY_RUN:-false}" == true ]]; then printf "${BLUE}Dry-run mode:${NC} no remote tags or PRs will be created, artefacts will be deployed to: ${DEPLOY_DRY_RUN_DIR}\n" GIT_DRYRUN="--dry-run" MVN_DEPLOY_DRYRUN="-DaltDeploymentRepository=ossrh::file:${DEPLOY_DRY_RUN_DIR}" +else + MVN_DEPLOY_DRYRUN="" fi if [[ "${SKIP_VALIDATION:-false}" != true ]]; then