OpenSimMirror/releng/makerel.sh

31 lines
647 B
Bash
Raw Normal View History

#!/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
# shouldn't have to change anything below here
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
rm -rf opensim-$OPENSIMMAJOR.$OPENSIMMINOR
echo "Produced binary tarball ready for distribution."