This repository was archived by the owner on Aug 30, 2024. It is now read-only.
File tree 3 files changed +7
-9
lines changed
3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
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
5
5
branches :
6
6
include :
7
7
- master
Original file line number Diff line number Diff line change 32
32
- bash : |
33
33
set -e
34
34
35
- if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
35
+ if [ "$BUILD_REASON" == "Schedule" ]; then
36
36
BUILD_COMMIT=$NIGHTLY_BUILD_COMMIT
37
37
fi
38
38
echo "Building numpy@$BUILD_COMMIT"
90
90
91
91
- bash : |
92
92
set -e
93
- if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
93
+ if [ "$BUILD_REASON" == "Schedule" ]; then
94
94
ANACONDA_ORG="scipy-wheels-nightly"
95
95
TOKEN="$MAPPED_NUMPY_NIGHTLY_UPLOAD_TOKEN"
96
96
else
@@ -113,7 +113,6 @@ jobs:
113
113
# The --force option forces a replacement if the remote file already
114
114
# exists.
115
115
echo uploading wheelhouse/*.whl
116
- echo TOKEN starts with ${TOKEN:0:3}
117
116
anaconda -t $TOKEN upload --force -u $ANACONDA_ORG wheelhouse/*.whl
118
117
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
119
118
displayName: Upload to anaconda.org (only if secret token is retrieved)
Original file line number Diff line number Diff line change 36
36
displayName: Check that we have the expected version and architecture for Python
37
37
- bash : |
38
38
set -e
39
- if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
39
+ if [ "$BUILD_REASON" == "Schedule" ]; then
40
40
BUILD_COMMIT=$NIGHTLY_BUILD_COMMIT
41
41
fi
42
42
echo "Building numpy@$BUILD_COMMIT"
@@ -118,7 +118,7 @@ jobs:
118
118
119
119
- bash : |
120
120
set -e
121
- if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
121
+ if [ "$BUILD_REASON" == "Schedule" ]; then
122
122
ANACONDA_ORG="scipy-wheels-nightly"
123
123
TOKEN="$MAPPED_NUMPY_NIGHTLY_UPLOAD_TOKEN"
124
124
else
@@ -141,7 +141,6 @@ jobs:
141
141
# The --force option forces a replacement if the remote file already
142
142
# exists.
143
143
echo uploading numpy/dist/numpy-*.whl
144
- echo TOKEN starts with ${TOKEN:0:3}
145
144
anaconda -t $TOKEN upload --force -u $ANACONDA_ORG numpy/dist/numpy-*.whl
146
145
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
147
146
displayName: Upload to anaconda.org (only if secret token is retrieved)
You can’t perform that action at this time.
0 commit comments