diff options
author | Matti Picus <matti.picus@gmail.com> | 2022-03-24 16:29:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 16:29:46 -0600 |
commit | c9689ca05a3084483a10c1b1d5570453a12d3ce6 (patch) | |
tree | 2488f37c806cba18a3eeb72b2cee834fff3e3321 | |
parent | c63f2c2bab48e0446b34f3bba5574729327d68d1 (diff) | |
parent | 5f0e44b5dc338e4115366e224da071327e036f18 (diff) | |
download | numpy-c9689ca05a3084483a10c1b1d5570453a12d3ce6.tar.gz |
Merge pull request #21238 from lithomas1/patch-2
BLD: Fix upload script
-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 |