trigger-build script should exit when invalid args provided

This commit is contained in:
Kris De Volder
2016-12-23 15:24:16 -08:00
parent 2acb3630b7
commit 129221b064

View File

@@ -4,6 +4,7 @@ set -e
if [ -z "$1" ]; then
echo "Usage: ./trigger-rc-build.sh ${RC_TAG}"
echo "Where RC_TAG is one of RC1, RC2, etc."
exit 1
fi
rc_tag=$1