Add test for null release tag and exit if so

This commit is contained in:
Brian Read 2023-07-17 10:26:47 +01:00
parent e966afb059
commit 133cea8089

View File

@ -68,6 +68,12 @@ for param in $4 $5 $6; do
fi
done
#check for release tag
if [ -z $3 ]; then
echo "Release tag not set";
exit 1;
fi
if [ $NOISY ] ; then echo "make-release $1 $2 $3 $4 $5 $6" ; fi
if [ $DEBUG ] ; then echo "************found ini file: $inifilename" ; fi
# Make this null if you want lots of output. Still quite a bit anyway