2007-05-06 13:25:50 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This is the one!
|
|
|
|
|
|
|
|
export OPENSIMMAJOR=0
|
|
|
|
export OPENSIMMINOR=1
|
2007-05-06 15:04:10 +00:00
|
|
|
export BUILD=`date +%s`
|
2007-05-07 16:40:55 +00:00
|
|
|
export BRANCH=DEVEL
|
|
|
|
export SVNURL=svn://openmetaverse.org/opensim/trunk
|
2007-05-06 13:25:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# shouldn't have to change anything below here
|
|
|
|
|
2007-05-16 21:30:47 +00:00
|
|
|
script dobuild.log -c "./dobuild.sh $SVNURL"
|
2007-05-16 18:05:22 +00:00
|
|
|
if [ ! $? -eq 0 ]
|
|
|
|
then
|
|
|
|
echo "Build failed!"
|
|
|
|
else
|
|
|
|
script createrel.log -c ./createreldir.sh
|
|
|
|
rm -rf build
|
|
|
|
tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/*
|
|
|
|
gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar
|
|
|
|
fi
|
2007-05-06 13:25:50 +00:00
|
|
|
|
2007-05-16 17:41:19 +00:00
|
|
|
rm -rf opensim-$OPENSIMMAJOR.$OPENSIMMINOR
|
2007-05-06 13:25:50 +00:00
|
|
|
echo "Produced binary tarball ready for distribution."
|
|
|
|
|