Use non-zero exit on channel determination failure

This commit is contained in:
Michael Vines 2018-11-30 08:50:17 -08:00
parent b2eeccbcc2
commit 29d95328ce
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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