Skip to content

Commit 0d4aef7

Browse files
authored
Merge pull request #283 from eccenca/bugfix/createReleaseBranch-CMEM-6662
Fix conditional test of source branch to create new release branch
2 parents 06714ff + af4f988 commit 0d4aef7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/create-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
branchname=$(git describe --all --exact-match | sed 's=heads/==')
3030
echo "Dispatched on $branchname"
31-
if [[ ! "$branchname" =~ ^(main|next|legacy)$ ]]; then echo "Branch $branchname is not allowed to dispatch this action on, use it only on develop, next and legacy." && false; fi
31+
if [[ ! "$branchname" =~ ^(develop|next|legacy)$ ]]; then echo "Branch $branchname is not allowed to dispatch this action on, use it only on develop, next and legacy." && false; fi
3232
echo "targetbranch=(echo $branchname | sed 's=^develop$=main=')" >> $GITHUB_OUTPUT
3333
- name: Update package.json with new release candidate version
3434
id: create-version

0 commit comments

Comments
 (0)