From fdbba411a0303f557eea6f6c5b0590f26431f6f9 Mon Sep 17 00:00:00 2001 From: David Byron <82477955+dbyron-sf@users.noreply.github.com> Date: Sat, 17 Aug 2024 18:11:26 -0700 Subject: [PATCH] fix(gha): remove whitespace from BRANCH in release.yml (#6271) --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a2f799533..2783a96cd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,8 +38,9 @@ jobs: echo "exactly one branch required to release clouddriver, but there are $NUM_BRANCHES ($BRANCHES)" exit 1 fi - echo "exactly one branch ($BRANCHES)" - echo BRANCH=$BRANCHES >> $GITHUB_ENV + BRANCH=$(echo $BRANCHES | xargs) + echo "exactly one branch ($BRANCH)" + echo BRANCH="$BRANCH" >> $GITHUB_ENV - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx