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

Commit bdbadcb

Browse files
committed
revert last commit: uploads to scipy-wheels-nightly work. Make them weekly
1 parent 8c67a24 commit bdbadcb

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
schedules:
2-
- cron: "27 3 */1 * *"
3-
# 3:27am UTC everyday
4-
displayName: Nightly build
2+
- cron: "27 3 * * 0"
3+
# 3:27am UTC every Sunday
4+
displayName: Weekly build
55
branches:
66
include:
77
- master

azure/posix.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- bash: |
3333
set -e
3434
35-
if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
35+
if [ "$BUILD_REASON" == "Schedule" ]; then
3636
BUILD_COMMIT=$NIGHTLY_BUILD_COMMIT
3737
fi
3838
echo "Building numpy@$BUILD_COMMIT"
@@ -90,7 +90,7 @@ jobs:
9090

9191
- bash: |
9292
set -e
93-
if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
93+
if [ "$BUILD_REASON" == "Schedule" ]; then
9494
ANACONDA_ORG="scipy-wheels-nightly"
9595
TOKEN="$MAPPED_NUMPY_NIGHTLY_UPLOAD_TOKEN"
9696
else
@@ -113,7 +113,6 @@ jobs:
113113
# The --force option forces a replacement if the remote file already
114114
# exists.
115115
echo uploading wheelhouse/*.whl
116-
echo TOKEN starts with ${TOKEN:0:3}
117116
anaconda -t $TOKEN upload --force -u $ANACONDA_ORG wheelhouse/*.whl
118117
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
119118
displayName: Upload to anaconda.org (only if secret token is retrieved)

azure/windows.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
displayName: Check that we have the expected version and architecture for Python
3737
- bash: |
3838
set -e
39-
if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
39+
if [ "$BUILD_REASON" == "Schedule" ]; then
4040
BUILD_COMMIT=$NIGHTLY_BUILD_COMMIT
4141
fi
4242
echo "Building numpy@$BUILD_COMMIT"
@@ -118,7 +118,7 @@ jobs:
118118

119119
- bash: |
120120
set -e
121-
if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
121+
if [ "$BUILD_REASON" == "Schedule" ]; then
122122
ANACONDA_ORG="scipy-wheels-nightly"
123123
TOKEN="$MAPPED_NUMPY_NIGHTLY_UPLOAD_TOKEN"
124124
else
@@ -141,7 +141,6 @@ jobs:
141141
# The --force option forces a replacement if the remote file already
142142
# exists.
143143
echo uploading numpy/dist/numpy-*.whl
144-
echo TOKEN starts with ${TOKEN:0:3}
145144
anaconda -t $TOKEN upload --force -u $ANACONDA_ORG numpy/dist/numpy-*.whl
146145
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
147146
displayName: Upload to anaconda.org (only if secret token is retrieved)

0 commit comments

Comments
 (0)