From 96eee220ea2eeadce79bc183931e342d17e15878 Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Mon, 1 May 2023 16:49:20 -0300 Subject: [PATCH] Fixed upload script.. --- .cirrus.yml | 1 - ports/ci/mac/upload.sh | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index ad656852d..8935422ad 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -34,7 +34,6 @@ mac_task: - chmod +x ports/ci/mac/deploy.sh - ./ports/ci/mac/deploy.sh upload_script: - only_if: ${UPLOAD} == 1 - chmod +x ports/ci/mac/upload.sh - ./ports/ci/mac/upload.sh diff --git a/ports/ci/mac/upload.sh b/ports/ci/mac/upload.sh index 0e9405a92..2043de033 100644 --- a/ports/ci/mac/upload.sh +++ b/ports/ci/mac/upload.sh @@ -18,6 +18,10 @@ # # Web-Site: http://webcamoid.github.io/ +if [[ "${UPLOAD}" != 1 ]]; then + exit 0 +fi + if [[ "$CIRRUS_RELEASE" == "" ]]; then releaseName=daily-build else