We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c921217 commit a567b3dCopy full SHA for a567b3d
tools/upload_to_anaconda_staging.sh
@@ -2,7 +2,8 @@
2
# Upload tar.gz and wheels to ananconda.org
3
4
upload_wheels() {
5
- set -x
+ # use +e since the ls command will error: either zip files or tar.gz files exist
6
+ set +e -x
7
if [[ "$(uname -s)" == CYGWIN* ]]; then
8
our_wd=$(cygpath "$START_DIR")
9
cd $our_wd
@@ -17,7 +18,7 @@ upload_wheels() {
17
18
else
19
echo "Uploading OpenBLAS $VERSION to anaconda.org staging:"
20
- tarballs=$(ls -d builds/openblas*.zip libs/openblas*.tar.gz 2>/dev/null && true)
21
+ tarballs=$(ls -d builds/openblas*.zip libs/openblas*.tar.gz 2>/dev/null)
22
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
23
--no-progress --force -u scientific-python-nightly-wheels \
24
-t file -p "openblas-libs" -v "$VERSION" \
0 commit comments