mirror of
https://github.com/appwrite/appwrite
synced 2026-05-05 22:38:37 +00:00
Added param validations to build script
This commit is contained in:
parent
f85c471017
commit
3465d3fc10
1 changed files with 12 additions and 0 deletions
12
build.sh
12
build.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue