diff options
author | Thomas Li <47963215+lithomas1@users.noreply.github.com> | 2022-03-24 07:03:54 -0700 |
---|---|---|
committer | Thomas Li <47963215+lithomas1@users.noreply.github.com> | 2022-03-24 14:46:13 -0700 |
commit | 5f0e44b5dc338e4115366e224da071327e036f18 (patch) | |
tree | 2488f37c806cba18a3eeb72b2cee834fff3e3321 /tools | |
parent | c63f2c2bab48e0446b34f3bba5574729327d68d1 (diff) | |
download | numpy-5f0e44b5dc338e4115366e224da071327e036f18.tar.gz |
BLD: Fix upload script
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wheels/upload_wheels.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/wheels/upload_wheels.sh b/tools/wheels/upload_wheels.sh index 21c6e629e..4bb1a8c51 100644 --- a/tools/wheels/upload_wheels.sh +++ b/tools/wheels/upload_wheels.sh @@ -41,9 +41,10 @@ upload_wheels() { echo no token set, not uploading else python -m pip install git+https://github.com/Anaconda-Server/anaconda-client - if compgen -G "./wheelhouse/*.gz"; then + # sdists are located under dist folder when built through setup.py + if compgen -G "./dist/*.gz"; then echo "Found sdist" - anaconda -t ${TOKEN} upload --skip -u ${ANACONDA_ORG} ./wheelhouse/*.gz + anaconda -t ${TOKEN} upload --skip -u ${ANACONDA_ORG} ./dist/*.gz elif compgen -G "./wheelhouse/*.whl"; then echo "Found wheel" anaconda -t ${TOKEN} upload --skip -u ${ANACONDA_ORG} ./wheelhouse/*.whl |