Skip to content

Commit 7de7f1c

Browse files
authored
CI: Ensure nightly wheels are uploaded instead of just sdist (#53578)
1 parent 9c35ac9 commit 7de7f1c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/upload_wheels.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ upload_wheels() {
2828
if compgen -G "./dist/*.gz"; then
2929
echo "Found sdist"
3030
anaconda -q -t ${TOKEN} upload --skip -u ${ANACONDA_ORG} ./dist/*.gz
31-
elif compgen -G "./wheelhouse/*.whl"; then
31+
echo "Uploaded sdist"
32+
fi
33+
if compgen -G "./wheelhouse/*.whl"; then
3234
echo "Found wheel"
3335
anaconda -q -t ${TOKEN} upload --skip -u ${ANACONDA_ORG} ./wheelhouse/*.whl
34-
else
35-
echo "Files do not exist"
36-
return 1
36+
echo "Uploaded wheel"
3737
fi
3838
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
3939
fi

0 commit comments

Comments
 (0)