Gendist script adapted to git.

This commit is contained in:
Ondrej Filip 2009-04-28 10:20:50 +02:00
parent 11e0568f8b
commit 73841442d9

View file

@ -21,9 +21,10 @@ rm -rf $T/$REL $T/$DREL
mkdir -p $T/$REL $T/$DREL $T/$DREL/doc
cp -a . $T/$REL
echo Generating ChangeLog
cvs log | tools/cvslog >$T/$REL/ChangeLog
git log >$T/$REL/ChangeLog
mv $T/$REL/doc/*.ps $T/$DREL/doc
rm -f $T/$REL/bird.conf*
rm -rf $T/$REL/.git/
rm -rf `find $T/$REL -name CVS -o -name tmp` $T/$REL/{misc,rfc,doc/slides}
( cd $T ; tar czvvf $REL.tar.gz $REL )
( cd $T ; tar czvvf $DREL.tar.gz $DREL )
@ -33,5 +34,5 @@ read OK
echo Uploading to Atrey...
scp $T/$REL.tar.gz $T/$DREL.tar.gz atrey.karlin.mff.cuni.cz:~ftp/pub/bird/
echo Uploading to Jana...
scp $T/$REL.tar.gz $T/$DREL.tar.gz regina.gin.cz:~ftp/pub/bird/
scp $T/$REL.tar.gz $T/$DREL.tar.gz bird.network.cz:~ftp/pub/bird/
echo Done.