makerel.sh 647 B

123456789101112131415161718192021222324252627282930
  1. #!/bin/sh
  2. # This is the one!
  3. export OPENSIMMAJOR=0
  4. export OPENSIMMINOR=2
  5. export BUILD=`date +%s`
  6. export BRANCH=DEVEL
  7. export SVNURL=svn://openmetaverse.org/opensim/trunk
  8. # shouldn't have to change anything below here
  9. script dobuild.log -c "./dobuild.sh $SVNURL"
  10. if [ ! $? -eq 0 ]
  11. then
  12. echo "Build failed!"
  13. else
  14. script createrel.log -c ./createreldir.sh
  15. rm -rf build
  16. tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/*
  17. gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar
  18. fi
  19. rm -rf opensim-$OPENSIMMAJOR.$OPENSIMMINOR
  20. echo "Produced binary tarball ready for distribution."