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

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

./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"