exit when project is not specified

This commit is contained in:
Darien Raymond
2017-02-23 16:45:55 +01:00
parent d476258e44
commit 064155da13
+5
View File
@@ -8,6 +8,11 @@ if [ -z "$PRE" ]; then
PRE="true"
fi
if [ -z "$PROJECT" ]; then
echo "Project not specified. Exiting..."
exit 0
fi
echo Creating a new release: $VER: $MSG
IFS="." read -a PARTS <<< "$VER"