Remove the tortured logic in another_ldap_try() and turn it into
[Samba/gebeck_regimport.git] / source4 / script / mkrelease.sh
blob19a1ade376bc1122d5ebdfd3dda021b86ff7b6cf
1 #!/bin/bash
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"
6 exit 1
7 fi
9 ./buildtools/bin/waf dist
10 TGZFILE="`echo *.tar.gz`"
11 gunzip $TGZFILE
12 TARFILE="`echo *.tar`"
14 echo "Now run: "
15 echo "gpg --detach-sign --armor $TARFILE"
16 echo "gzip $TARFILE"
17 echo "And then upload "
18 echo "$TARFILE.gz $TARFILE.asc"
19 echo "to pub/samba/samba4/ on samba.org"