Skip to content

Commit 92e7e3f

Browse files
authored
fix(ci) Fix silly error in regex (#4737)
1 parent 8468734 commit 92e7e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ jobs:
210210
command: |
211211
echo "» Branch: "${CIRCLE_BRANCH}
212212
echo
213-
if [[ ${CIRCLECI_BRANCH} =~ ^\d{3}-(summer|spring|winter)-\d{2}$ ]] ; then
213+
if [[ ${CIRCLE_BRANCH} =~ ^[0-9]{3}-(summer|spring|winter)-[0-9]{2}$ ]] ; then
214214
echo "» Does not require a pull-request number"
215215
else
216216
if [ -z $(cat workspace/gh-pr-num.txt) ] ; then

0 commit comments

Comments
 (0)