Add stable to release branch

This commit is contained in:
Sam El-Husseini
2018-06-13 15:34:43 -07:00
parent b724a0be6e
commit 96a62c5772

View File

@ -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)