Skip to content

Commit

Permalink
CI: Ensure nightly wheels are uploaded instead of just sdist (pandas-…
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke authored Jun 9, 2023
1 parent 9c35ac9 commit 7de7f1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/upload_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ upload_wheels() {
if compgen -G "./dist/*.gz"; then
echo "Found sdist"
anaconda -q -t ${TOKEN} upload --skip -u ${ANACONDA_ORG} ./dist/*.gz
elif compgen -G "./wheelhouse/*.whl"; then
echo "Uploaded sdist"
fi
if compgen -G "./wheelhouse/*.whl"; then
echo "Found wheel"
anaconda -q -t ${TOKEN} upload --skip -u ${ANACONDA_ORG} ./wheelhouse/*.whl
else
echo "Files do not exist"
return 1
echo "Uploaded wheel"
fi
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
fi
Expand Down

0 comments on commit 7de7f1c

Please sign in to comment.