Use non-zero exit on channel determination failure
This commit is contained in:
parent
b2eeccbcc2
commit
29d95328ce
|
@ -29,7 +29,7 @@ fi
|
||||||
|
|
||||||
if [[ -z $CHANNEL_OR_TAG ]]; then
|
if [[ -z $CHANNEL_OR_TAG ]]; then
|
||||||
echo Unable to determine channel to publish into, exiting.
|
echo Unable to determine channel to publish into, exiting.
|
||||||
exit 0
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ fi
|
||||||
|
|
||||||
if [[ -z $CHANNEL ]]; then
|
if [[ -z $CHANNEL ]]; then
|
||||||
echo Unable to determine channel to publish into, exiting.
|
echo Unable to determine channel to publish into, exiting.
|
||||||
exit 0
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $DRYRUN ]]; then
|
if [[ -z $DRYRUN ]]; then
|
||||||
|
|
Loading…
Reference in New Issue