mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
Merge pull request #617 from ZhifengZhang-CN/0.6.0
format check_ccache.sh
This commit is contained in:
commit
8e4c5833fc
@ -57,17 +57,17 @@ check_ccache() {
|
||||
fi
|
||||
}
|
||||
|
||||
for BRANCH_NAME in ${BRANCH_NAMES}
|
||||
do
|
||||
if [[ "${BRANCH_NAME}" != "HEAD" ]];then
|
||||
check_ccache ${BRANCH_NAME}
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ -n "${CHANGE_BRANCH}" && "${BRANCH_NAME}" =~ "PR-" ]];then
|
||||
check_ccache ${CHANGE_BRANCH}
|
||||
check_ccache ${BRANCH_NAME}
|
||||
fi
|
||||
|
||||
for CURRENT_BRANCH in ${BRANCH_NAMES}
|
||||
do
|
||||
if [[ "${CURRENT_BRANCH}" != "HEAD" ]];then
|
||||
check_ccache ${CURRENT_BRANCH}
|
||||
fi
|
||||
done
|
||||
|
||||
echo "could not download cache" && exit 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user