summaryrefslogtreecommitdiff
path: root/source4/script/mkrelease.sh
blob: 6ad927b9829c8728b9ba4b8e8018c0f5abfa656d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

if [ ! -d ".git" -o `dirname $0` != "./source4/script" ]; then
	echo "Run this script from the top-level directory in the"
	echo "repository as: ./source4/script/mkrelease.sh"
	exit 1
fi

cd source4
../buildtools/bin/waf dist
TGZFILE="`echo *.tar.gz`"
gunzip $TGZFILE
TARFILE="`echo *.tar`"

echo "Now run: "
echo "gpg --detach-sign --armor $TARFILE"
echo "gzip $TARFILE"
echo "And then upload "
echo "$TARFILE.gz $TARFILE.asc"
echo "to pub/samba/samba4/ on samba.org"