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

Commit 8c67a24

Browse files
committed
trigger as if scheduled build
1 parent 3b74aa4 commit 8c67a24

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

azure/posix.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- bash: |
3333
set -e
3434
35-
if [ "$BUILD_REASON" == "Schedule" ]; then
35+
if [ 1 -o "$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 [ "$BUILD_REASON" == "Schedule" ]; then
93+
if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
9494
ANACONDA_ORG="scipy-wheels-nightly"
9595
TOKEN="$MAPPED_NUMPY_NIGHTLY_UPLOAD_TOKEN"
9696
else
@@ -113,6 +113,7 @@ 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}
116117
anaconda -t $TOKEN upload --force -u $ANACONDA_ORG wheelhouse/*.whl
117118
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
118119
displayName: Upload to anaconda.org (only if secret token is retrieved)

azure/windows.yml

Lines changed: 3 additions & 2 deletions
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 [ "$BUILD_REASON" == "Schedule" ]; then
39+
if [ 1 -o "$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 [ "$BUILD_REASON" == "Schedule" ]; then
121+
if [ 1 -o "$BUILD_REASON" == "Schedule" ]; then
122122
ANACONDA_ORG="scipy-wheels-nightly"
123123
TOKEN="$MAPPED_NUMPY_NIGHTLY_UPLOAD_TOKEN"
124124
else
@@ -141,6 +141,7 @@ 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}
144145
anaconda -t $TOKEN upload --force -u $ANACONDA_ORG numpy/dist/numpy-*.whl
145146
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
146147
displayName: Upload to anaconda.org (only if secret token is retrieved)

0 commit comments

Comments
 (0)