diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh index 34245bbd7d6c..fb9783db4dd2 100755 --- a/ci/docker/runtime_functions.sh +++ b/ci/docker/runtime_functions.sh @@ -1307,13 +1307,14 @@ cd_pypi_publish() { cd_s3_publish() { set -ex - pip3 install --user awscli + pip3 install --upgrade --user awscli filepath=$(readlink -f wheel_build/dist/*.whl) filename=$(basename $filepath) variant=$(echo $filename | cut -d'-' -f1 | cut -d'_' -f2 -s) if [ -z "${variant}" ]; then variant="cpu" fi + export PATH=/usr/local/bin:$PATH aws s3 cp ${filepath} s3://apache-mxnet/dist/python/${variant}/${filename} --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=id=43f628fab72838a4f0b929d7f1993b14411f4b0294b011261bc6bd3e950a6822 }