diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 72de9f5e07b29ac4838e98c235dfc4cf00a932eb..5fb50a2d29c2ff49a70c76a21037c4381972131e 100644 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -3188,7 +3188,7 @@ function build_pr_and_develop() { mkdir ${PADDLE_ROOT}/build/pr_whl && cp ${PADDLE_ROOT}/build/python/dist/*.whl ${PADDLE_ROOT}/build/pr_whl rm -f ${PADDLE_ROOT}/build/python/dist/*.whl && rm -f ${PADDLE_ROOT}/build/python/build/.timestamp - git checkout develop + git checkout $BRANCH dev_commit=`git log -1|head -1|awk '{print $2}'` dev_url="https://xly-devops.bj.bcebos.com/PR/build_whl/0/${dev_commit}/paddlepaddle_gpu-0.0.0-cp37-cp37m-linux_x86_64.whl" url_return=`curl -s -m 5 -IL ${dev_url} |awk 'NR==1{print $2}'`