mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +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
|
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
|
if [[ -n "${CHANGE_BRANCH}" && "${BRANCH_NAME}" =~ "PR-" ]];then
|
||||||
check_ccache ${CHANGE_BRANCH}
|
check_ccache ${CHANGE_BRANCH}
|
||||||
check_ccache ${BRANCH_NAME}
|
check_ccache ${BRANCH_NAME}
|
||||||
fi
|
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
|
echo "could not download cache" && exit 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user