1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

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
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

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"