From 97f4483675d63b5c43e547124d99975a1c4f2a48 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sun, 18 Aug 2024 02:43:56 +0000 Subject: [PATCH] fix(gha): remove whitespace from BRANCH in release.yml (#6271) (#6272) (cherry picked from commit fdbba411a0303f557eea6f6c5b0590f26431f6f9) Co-authored-by: David Byron <82477955+dbyron-sf@users.noreply.github.com> --- .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 93c7b99c31..8393c510d5 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