aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/releng/makerel.sh
blob: b846ca58fbf7fd9b3a4938e296bd96a466e9662c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

# This is the one!

export OPENSIMMAJOR=0
export OPENSIMMINOR=1
export BUILD=`date +%s`
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
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."