Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 5305271

Browse files
authored
Merge pull request #89 from mattip/rename
only rename wheels that go to scipy-wheels-nightly
2 parents 6855e89 + b691e34 commit 5305271

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,16 @@ after_success:
105105
# https://travis-ci.org/github/MacPython/numpy-wheels/settings
106106
# originally generated at
107107
# anaconda.org/scipy-wheels-nightly/settings/access
108-
- if [ "$TRAVIS_BRANCH" == "master" ]; then
108+
- if [ "$TRAVIS_BRANCH" == "master" ] ; then
109109
ANACONDA_ORG="scipy-wheels-nightly";
110110
TOKEN=${NUMPY_NIGHTLY_UPLOAD_TOKEN};
111+
source extra_functions.sh;
112+
for f in wheelhouse/*.whl; do rename_wheel $f; done;
111113
else
112114
ANACONDA_ORG="multibuild-wheels-staging";
113115
TOKEN=${NUMPY_STAGING_UPLOAD_TOKEN};
114116
fi
115117
- pip install git+https://github.com/Anaconda-Server/anaconda-client;
116-
- if [ -n "${TOKEN}" ] ;then
118+
- if [ -n "${TOKEN}" ] ; then
117119
anaconda -t ${TOKEN} upload -u ${ANACONDA_ORG} ${TRAVIS_BUILD_DIR}/wheelhouse/*.whl;
118120
fi

azure/posix.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,10 @@ jobs:
110110
111111
- bash: |
112112
set -e
113-
source extra_functions.sh
114-
for f in wheelhouse/*.whl; do rename_wheel $f; done
113+
if [ $ANACONDA_ORG == "scipy-wheels-nightly" ]; then
114+
source extra_functions.sh
115+
for f in wheelhouse/*.whl; do rename_wheel $f; done
116+
fi
115117
116118
echo uploading wheelhouse/*.whl
117119

azure/windows.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,10 @@ jobs:
138138
139139
- bash: |
140140
set -e
141-
source extra_functions.sh
142-
for f in numpy/dist/numpy-*.whl; do rename_wheel $f; done
141+
if [ $ANACONDA_ORG == "scipy-wheels-nightly" ]; then
142+
source extra_functions.sh
143+
for f in wheelhouse/*.whl; do rename_wheel $f; done
144+
fi
143145
144146
echo uploading numpy/dist/numpy-*.whl
145147

0 commit comments

Comments
 (0)