From 7f868a17a2b5b4c11520059ef70db2866987283e Mon Sep 17 00:00:00 2001 From: Marc Guasch Date: Fri, 14 Jul 2023 12:22:24 +0200 Subject: [PATCH] Expose env var to force publish for testing --- .buildkite/scripts/steps/publish-agent-core-dra.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/scripts/steps/publish-agent-core-dra.sh b/.buildkite/scripts/steps/publish-agent-core-dra.sh index 0f338d10106..f0954c214d0 100755 --- a/.buildkite/scripts/steps/publish-agent-core-dra.sh +++ b/.buildkite/scripts/steps/publish-agent-core-dra.sh @@ -8,7 +8,7 @@ source .buildkite/scripts/bootstrap.sh function run_release_manager() { echo "+++ Publishing $BUILDKITE_BRANCH ${WORKFLOW} DRA artifacts..." dry_run="" - if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then + if [ "$BUILDKITE_PULL_REQUEST" != "false" || "$FORCE_NO_DRY_RUN" == "true"]; then dry_run="--dry-run" # force main branch on PR's or it won't execute # because the PR branch does not have a project folder in release-manager