exit when project is not specified

pull/432/head
Darien Raymond 2017-02-23 16:45:55 +01:00
parent d476258e44
commit 064155da13
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 5 additions and 0 deletions

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"