1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Don't leave release trees hanging around

Andrew Bartlett
(This used to be commit e06911de33)
This commit is contained in:
Andrew Bartlett 2008-03-29 14:23:43 +11:00
parent 40bcb11d29
commit 1d29ab2536

View File

@ -11,7 +11,8 @@ TMPDIR=`mktemp -d samba-XXXXX`
VERSION=`sed -n 's/^SAMBA_VERSION_STRING=//p' $TMPDIR/source/version.h`
mv $TMPDIR samba-$VERSION || exit 1
tar -cf samba-$VERSION.tar samba-$VERSION || exit 1
tar -cf samba-$VERSION.tar samba-$VERSION || (rm -rf samba-$VERSION; exit 1)
rm -rf samba-$VERSION || exit 1
echo "Now run: "
echo "gpg --detach-sign --armor samba-$VERSION.tar"
echo "gzip samba-$VERSION.tar"