We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c0fad4 + 76efa9b commit 4a07617Copy full SHA for 4a07617
paddle/scripts/paddle_build.sh
@@ -333,7 +333,7 @@ function assert_api_not_changed() {
333
python ${PADDLE_ROOT}/tools/diff_api.py ${PADDLE_ROOT}/paddle/fluid/API.spec new.spec
334
deactivate
335
336
- API_CHANGE=`git diff --name-only HEAD^ | grep "paddle/fluid/API.spec" | true`
+ API_CHANGE=`git diff --name-only HEAD^ | grep "paddle/fluid/API.spec" || true`
337
echo "checking API.spec change, PR: ${GIT_PR_ID}, changes: ${API_CHANGE}"
338
if [ ${API_CHANGE} ] && [ "${GIT_PR_ID}" != "" ]; then
339
# TODO: curl -H 'Authorization: token ${TOKEN}'
0 commit comments