Skip to content

Commit 031e9bb

Browse files
authored
BLD: Fix regex in arm64 wheel builders (pandas-dev#51326)
Update config.yml
1 parent 4bf16d2 commit 031e9bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/config.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
elif [[ $TRIGGER_SOURCE == "scheduled_pipeline" ]]; then
4040
export IS_SCHEDULE_DISPATCH="true"
4141
# Look for the build label/[wheel build] in commit
42-
elif (git log --format=oneline -n 1 $CIRCLE_SHA1) | grep -q '[wheel build]'; then
42+
# grep takes a regex, so need to escape brackets
43+
elif (git log --format=oneline -n 1 $CIRCLE_SHA1) | grep -q '\[wheel build\]'; then
4344
: # Do nothing
4445
elif ! (curl https://api.github.com/repos/pandas-dev/pandas/issues/$CIRCLE_PR_NUMBER | jq '.labels' | grep -q 'Build'); then
4546
circleci-agent step halt

0 commit comments

Comments
 (0)