Skip to content

Commit 97f4483

Browse files
fix(gha): remove whitespace from BRANCH in release.yml (#6271) (#6272)
(cherry picked from commit fdbba41) Co-authored-by: David Byron <82477955+dbyron-sf@users.noreply.github.com>
1 parent 46c42ce commit 97f4483

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
echo "exactly one branch required to release clouddriver, but there are $NUM_BRANCHES ($BRANCHES)"
3939
exit 1
4040
fi
41-
echo "exactly one branch ($BRANCHES)"
42-
echo BRANCH=$BRANCHES >> $GITHUB_ENV
41+
BRANCH=$(echo $BRANCHES | xargs)
42+
echo "exactly one branch ($BRANCH)"
43+
echo BRANCH="$BRANCH" >> $GITHUB_ENV
4344
- name: Set up QEMU
4445
uses: docker/setup-qemu-action@v3
4546
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)