Skip to content

Commit

Permalink
Expose env var to force publish for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Jul 14, 2023
1 parent 2adf08a commit 7f868a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/scripts/steps/publish-agent-core-dra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f868a1

Please sign in to comment.