Skip to content

Commit fdbba41

Browse files
authored
fix(gha): remove whitespace from BRANCH in release.yml (#6271)
1 parent 33323d4 commit fdbba41

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)