From e854c2f17284e7b30c6aa1b6e132b527a171ada9 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 12 Mar 2018 22:48:47 +0100 Subject: travis: when skipping deploy, return 0 --- .travis/deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/deploy.sh b/.travis/deploy.sh index 2b6c832..f04468c 100755 --- a/.travis/deploy.sh +++ b/.travis/deploy.sh @@ -27,12 +27,12 @@ fi if [[ "x$(type -t deploy)" != "xfunction" ]] || [[ "x$(type -t deploy_cond)" != "xfunction" ]]; then echo "Nothing to deploy. skipping ..." - exit 1 + exit 0 fi if ! deploy_cond; then echo "Deploy disabled. skipping ..." - exit 1 + exit 0 fi deploy -- cgit v1.2.3-18-g5258