blob: f7665dbd1a722de9fad7362e5f46b6dc48b64340 [file] [log] [blame]
#!/bin/bash
COPY_FROM=${WORKSPACE}/wheels/
PUBLISH_TO=ldcg/python-cache/
set -ex
ls -alR $COPY_FROM
# Publish wheel files
test -d ${HOME}/bin || mkdir ${HOME}/bin
wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
time python3 ${HOME}/bin/linaro-cp.py \
$COPY_FROM \
$PUBLISH_TO
set +x
echo "Python wheels: https://snapshots.linaro.org/${PUBLISH_TO}"