Skip to content

Commit

Permalink
Fixed upload script..
Browse files Browse the repository at this point in the history
  • Loading branch information
hipersayanX committed May 1, 2023
1 parent bcadd28 commit 96eee22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions ports/ci/mac/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96eee22

Please sign in to comment.