Skip to content

Commit

Permalink
fix suffixes in the deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
pzhokhov committed May 21, 2021
1 parent 7e16bf4 commit d1360b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy_to_pypi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ env
# aws s3 cp --recursive s3://games-wheels/atari-py/${TRAVIS_TAG} wheelhouse/
SUFFIXES="-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -manylinux_2_17_x86_64.manylinux2014_x86_64.whl -win_amd64.whl -macosx_10_12_x86_64.whl"
# SUFFIXES="-manylinux1_x86_64.whl"
PY_VERS="-cp36-cp36m -cp37-cp37 -cp38-38m -cp39-39m"
PY_VERS="-cp36-cp36m -cp37-cp37m -cp38-cp38m -cp39-cp39m"
URLPREFIX="https://s3-${AWS_DEFAULT_REGION}.amazonaws.com/${S3_BUCKET}/${S3_PREFIX}atari-py/${TRAVIS_TAG}/atari_py-${TRAVIS_TAG}"

cd wheelhouse
for s in $SUFFIXES; do
for p in $PY_VERS; do
curl -O -f ${URLPREFIX}${p}${s} || echo "${URLPREFIX}${p}{s} not found"
curl -O -f ${URLPREFIX}${p}${s} || echo "${URLPREFIX}${p}${s} not found"
done;
done

Expand Down

0 comments on commit d1360b3

Please sign in to comment.