提交 e32f4c54 编写于 作者: X Xin Pan

fix

test=develop
上级 3e665862
...@@ -469,8 +469,8 @@ function assert_api_spec_approvals() { ...@@ -469,8 +469,8 @@ function assert_api_spec_approvals() {
BRANCH="develop" BRANCH="develop"
fi fi
API_FILES=('paddle/fluid/API.spec' 'paddle/fluid/framework/operator.h') API_FILES=("paddle/fluid/API.spec" "paddle/fluid/framework/operator.h")
for API_FILE in ${API_FILES}; do for API_FILE in ${API_FILES[*]}; do
API_CHANGE=`git diff --name-only upstream/$BRANCH | grep "${API_FILE}" || true` API_CHANGE=`git diff --name-only upstream/$BRANCH | grep "${API_FILE}" || true`
echo "checking ${API_FILE} change, PR: ${GIT_PR_ID}, changes: ${API_CHANGE}" echo "checking ${API_FILE} change, PR: ${GIT_PR_ID}, changes: ${API_CHANGE}"
if [ ${API_CHANGE} ] && [ "${GIT_PR_ID}" != "" ]; then if [ ${API_CHANGE} ] && [ "${GIT_PR_ID}" != "" ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册