Gendist script adapted to git.
This commit is contained in:
parent
11e0568f8b
commit
73841442d9
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue