diff options
author | MW | 2007-05-26 13:40:19 +0000 |
---|---|---|
committer | MW | 2007-05-26 13:40:19 +0000 |
commit | 3436961bb5c01d659d09be134368f4f69460cef9 (patch) | |
tree | 3753ba4d7818df2a6bce0bbe863ff033cdfd568a /releng/makerel.sh | |
download | opensim-SC_OLD-3436961bb5c01d659d09be134368f4f69460cef9.zip opensim-SC_OLD-3436961bb5c01d659d09be134368f4f69460cef9.tar.gz opensim-SC_OLD-3436961bb5c01d659d09be134368f4f69460cef9.tar.bz2 opensim-SC_OLD-3436961bb5c01d659d09be134368f4f69460cef9.tar.xz |
Start of rewrite 5279!
Diffstat (limited to 'releng/makerel.sh')
-rw-r--r-- | releng/makerel.sh | 30 |
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 | |||
5 | export OPENSIMMAJOR=0 | ||
6 | export OPENSIMMINOR=2 | ||
7 | export BUILD=`date +%s` | ||
8 | export BRANCH=DEVEL | ||
9 | export SVNURL=svn://openmetaverse.org/opensim/trunk | ||
10 | |||
11 | |||
12 | |||
13 | |||
14 | |||
15 | # shouldn't have to change anything below here | ||
16 | |||
17 | script dobuild.log -c "./dobuild.sh $SVNURL" | ||
18 | if [ ! $? -eq 0 ] | ||
19 | then | ||
20 | echo "Build failed!" | ||
21 | else | ||
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 | ||
26 | fi | ||
27 | |||
28 | rm -rf opensim-$OPENSIMMAJOR.$OPENSIMMINOR | ||
29 | echo "Produced binary tarball ready for distribution." | ||
30 | |||