aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/releng/makerel.sh
blob: b7bc56892d081cbb8170d306401ce7f33956f1e0 (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=2
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."