WHATSNEW: Finish release notes for Samba 3.6.9.
[Samba.git] / source4 / script / mkrelease.sh
blob6ad927b9829c8728b9ba4b8e8018c0f5abfa656d
1 #!/bin/sh
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 cd source4
10 ../buildtools/bin/waf dist
11 TGZFILE="`echo *.tar.gz`"
12 gunzip $TGZFILE
13 TARFILE="`echo *.tar`"
15 echo "Now run: "
16 echo "gpg --detach-sign --armor $TARFILE"
17 echo "gzip $TARFILE"
18 echo "And then upload "
19 echo "$TARFILE.gz $TARFILE.asc"
20 echo "to pub/samba/samba4/ on samba.org"