Skip to content

Commit

Permalink
update branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Oct 28, 2024
1 parent e800a20 commit c15b223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<<EOF" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit c15b223

Please sign in to comment.