diff options
author | mattip <matti.picus@gmail.com> | 2022-11-28 19:22:35 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2022-11-28 19:22:35 +0200 |
commit | b84eee0522b09a5912b18d46e169d43767ec66fa (patch) | |
tree | 8808cb286fb415cbd8abc9c12d3ea420dcb80d48 | |
parent | 5fd6a7d66ac594f95a7a994de8e7795a38890258 (diff) | |
download | numpy-b84eee0522b09a5912b18d46e169d43767ec66fa.tar.gz |
BUILD: more cirrus CI env tweaks
-rw-r--r-- | tools/wheels/upload_wheels.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/wheels/upload_wheels.sh b/tools/wheels/upload_wheels.sh index 4c650edaa..eef393875 100644 --- a/tools/wheels/upload_wheels.sh +++ b/tools/wheels/upload_wheels.sh @@ -4,9 +4,11 @@ set_travis_vars() { echo CIRRUS_TASK_NAME is "$CIRRUS_TASK_NAME" echo "TRAVIS_TAG is $TRAVIS_TAG" echo "CIRRUS_TAG is $CIRRUS_TAG" + echo "CIRRUS_API_CREATED is $CIRRUS_API_CREATED" + echo "CIRRUS_PR is $CIRRUS_PR" if [[ "$TRAVIS_EVENT_TYPE" == "push" && "$TRAVIS_TAG" == v* ]]; then IS_PUSH="true" - elif [[ "$CIRRUS_TASK_NAME" == "push" && "$CIRRUS_TAG" == v* ]]; then + elif [[ "$CIRRUS_PR" == "" && "$CIRRUS_TAG" == v* ]]; then IS_PUSH="true" else IS_PUSH="false" |