aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/releng/makerel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'releng/makerel.sh')
-rw-r--r--releng/makerel.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/releng/makerel.sh b/releng/makerel.sh
new file mode 100644
index 0000000..b7bc568
--- /dev/null
+++ b/releng/makerel.sh
@@ -0,0 +1,30 @@
1#!/bin/sh
2
3# This is the one!
4
5export OPENSIMMAJOR=0
6export OPENSIMMINOR=2
7export BUILD=`date +%s`
8export BRANCH=DEVEL
9export SVNURL=svn://openmetaverse.org/opensim/trunk
10
11
12
13
14
15# shouldn't have to change anything below here
16
17script dobuild.log -c "./dobuild.sh $SVNURL"
18if [ ! $? -eq 0 ]
19then
20 echo "Build failed!"
21else
22 script createrel.log -c ./createreldir.sh
23 rm -rf build
24 tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/*
25 gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar
26fi
27
28rm -rf opensim-$OPENSIMMAJOR.$OPENSIMMINOR
29echo "Produced binary tarball ready for distribution."
30