Skip to content

Commit

Permalink
Create local var
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Jul 14, 2023
1 parent 96f7f71 commit 2b4ab79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/scripts/steps/dra-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ set -uo pipefail
source .buildkite/scripts/bootstrap.sh

# Publish DRA artifacts
FORCE_NO_DRA_DRY_RUN=$FORCE_NO_DRA_DRY_RUN
function run_release_manager() {
echo "+++ Publishing $BUILDKITE_BRANCH ${WORKFLOW} DRA artifacts..."
force_dry_run="${FORCE_NO_DRA_DRY_RUN}"
dry_run=""
if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; 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
BRANCH=main
fi
if [ $force_dry_run == "true" ]; then
if [ "$FORCE_NO_DRA_DRY_RUN" == "true" ]; then
dry_run=""
fi
docker run --rm \
Expand Down

0 comments on commit 2b4ab79

Please sign in to comment.