1
0
Fork 0
mirror of synced 2024-05-11 00:02:36 +12:00

Added param validations to build script

This commit is contained in:
Eldad Fux 2020-05-24 01:07:50 +03:00
parent f85c471017
commit 3465d3fc10

View file

@ -3,6 +3,18 @@
RED='\033[0;31m'
NC='\033[0m' # No Color
if [ -z "$1" ]
then
echo "Missing tag number"
exit 1
fi
if [ -z "$2" ]
then
echo "Missing version number"
exit 1
fi
echo "Updating git repository $1 / $2"
git fetch origin