3 if [ ! -d ".git" -o `dirname $0` != "./source4/script" ]; then
4 echo "Run this script from the top-level directory in the"
5 echo "repository as: ./source4/script/mkrelease.sh"
9 .
/buildtools
/bin
/waf dist
10 TGZFILE
="`echo *.tar.gz`"
12 TARFILE
="`echo *.tar`"
15 echo "gpg --detach-sign --armor $TARFILE"
17 echo "And then upload "
18 echo "$TARFILE.gz $TARFILE.asc"
19 echo "to pub/samba/samba4/ on samba.org"