Add stable to release branch
This commit is contained in:
1 parent
b724a0be6e
commit
96a62c5772
1 file changed
+1
-1
+1
-1
@@ -13,7 +13,7 @@ echo isPR: $1
|
||||
|
||||
originRegex="^origin/.*"
|
||||
branchRegex="^origin/\K.*(?=$)"
|
||||
releaseBranchRegex="^(master|v\d+)$"
|
||||
releaseBranchRegex="^(master|stable|v\d+)$"
|
||||
|
||||
if [[ "$GIT_BRANCH" =~ $originRegex ]]; then
|
||||
branchName=$(echo ${GIT_BRANCH} | grep -oP $branchRegex)
|
||||
|
||||
Reference in new issue
Block a user