From c15b223fc70c5b24b076ccebfaf2b39e47a70795 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Mon, 28 Oct 2024 14:49:57 -0600 Subject: [PATCH] update branch name --- .github/workflows/release_parallel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_parallel.yml b/.github/workflows/release_parallel.yml index 1e3c0e3fca..14f7a360a5 100644 --- a/.github/workflows/release_parallel.yml +++ b/.github/workflows/release_parallel.yml @@ -116,7 +116,7 @@ jobs: - name: Commit and push changes run: | - BRANCH_NAME="update-${{ needs.prepare-release.outputs.release-version }}-$(echo '${{ matrix.test.displayPath }}' | sed 's/\//-/g')" + BRANCH_NAME="update--${{ needs.prepare-release.outputs.release-version }}-$(echo '${{ matrix.test.displayPath }}' | sed 's/\//-/g')" git switch -c "$BRANCH_NAME" git add --all if ! git diff --cached --quiet; then @@ -148,7 +148,7 @@ jobs: id: collect-branches run: | # Create array of branches - readarray -t BRANCH_ARRAY < <(git branch -r | grep "origin/update-${{ needs.prepare-release.outputs.release-version }}-" | sed 's/origin\///' | xargs -n1) + readarray -t BRANCH_ARRAY < <(git branch -r | grep "origin/update--${{ needs.prepare-release.outputs.release-version }}-" | sed 's/origin\///' | xargs -n1) # Output array elements as multiline value echo "branches<> $GITHUB_OUTPUT