0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

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 mkdir -p $T/$REL $T/$DREL $T/$DREL/doc
cp -a . $T/$REL cp -a . $T/$REL
echo Generating ChangeLog echo Generating ChangeLog
cvs log | tools/cvslog >$T/$REL/ChangeLog git log >$T/$REL/ChangeLog
mv $T/$REL/doc/*.ps $T/$DREL/doc mv $T/$REL/doc/*.ps $T/$DREL/doc
rm -f $T/$REL/bird.conf* 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} 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 $REL.tar.gz $REL )
( cd $T ; tar czvvf $DREL.tar.gz $DREL ) ( cd $T ; tar czvvf $DREL.tar.gz $DREL )
@ -33,5 +34,5 @@ read OK
echo Uploading to Atrey... echo Uploading to Atrey...
scp $T/$REL.tar.gz $T/$DREL.tar.gz atrey.karlin.mff.cuni.cz:~ftp/pub/bird/ scp $T/$REL.tar.gz $T/$DREL.tar.gz atrey.karlin.mff.cuni.cz:~ftp/pub/bird/
echo Uploading to Jana... 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. echo Done.