From 29d95328ce3009973eebe58f021a1458c463d809 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 30 Nov 2018 08:50:17 -0800 Subject: [PATCH] Use non-zero exit on channel determination failure --- ci/publish-solana-tar.sh | 2 +- ci/snap.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/publish-solana-tar.sh b/ci/publish-solana-tar.sh index be056775a..108c63baf 100755 --- a/ci/publish-solana-tar.sh +++ b/ci/publish-solana-tar.sh @@ -29,7 +29,7 @@ fi if [[ -z $CHANNEL_OR_TAG ]]; then echo Unable to determine channel to publish into, exiting. - exit 0 + exit 1 fi diff --git a/ci/snap.sh b/ci/snap.sh index 814811700..166290104 100755 --- a/ci/snap.sh +++ b/ci/snap.sh @@ -29,7 +29,7 @@ fi if [[ -z $CHANNEL ]]; then echo Unable to determine channel to publish into, exiting. - exit 0 + exit 1 fi if [[ -z $DRYRUN ]]; then