mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
6f9ea168a6
Update the mkrelease.sh script and mkversion.sh to make releasing correct
Samba4 tarballs harder to screw up.
Andrew Bartlett
(This used to be commit 5f9ca54b5c
)
25 lines
576 B
Bash
Executable File
25 lines
576 B
Bash
Executable File
#!/bin/sh
|
|
|
|
TMPDIR=`mktemp samba-XXXXX`
|
|
rm $TMPDIR || exit 1
|
|
svn export . $TMPDIR || exit 1
|
|
|
|
( cd $TMPDIR/source
|
|
./autogen.sh || exit 1
|
|
./configure || exit 1
|
|
make dist || exit 1
|
|
) || exit 1
|
|
|
|
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
|
|
echo "Now run: "
|
|
echo "gpg --detach-sign --armor samba-$VERSION.tar"
|
|
echo "gzip samba-$VERSION.tar"
|
|
echo "And then upload "
|
|
echo "samba-$VERSION.tar.gz samba-$VERSION.tar.asc"
|
|
echo "to pub/samba/samba4/ on samba.org"
|
|
|
|
|
|
|