8000 Use regex rather than exact match for clarity · scikit-learn/scikit-learn@86ebf25 · GitHub
[go: up one dir, main page]

Skip to content

Commit 86ebf25

Browse files
committed
Use regex rather than exact match for clarity
1 parent 2d001a6 commit 86ebf25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_tools/circle/build_doc.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ get_build_type() {
2929
echo QUICK BUILD: failed to inspect commit $CIRCLE_SHA1
3030
return
3131
fi
32-
if [[ "$commit_msg" =~ '[doc skip]' ]]
32+
if [[ "$commit_msg" =~ \[doc\ skip\] ]]
3333
then
3434
echo SKIP: [doc skip] marker found
3535
return
3636
fi
37-
if [[ "$commit_msg" =~ '[doc build]' ]]
37+
if [[ "$commit_msg" =~ \[doc\ build\] ]]
3838
then
3939
echo BUILD: [doc build] marker found
4040
return

0 commit comments

Comments
 (0)
0