diff options
Diffstat (limited to 'releng')
-rwxr-xr-x | releng/makerel.sh | 5 | ||||
-rwxr-xr-x | releng/parsetmpl.sh | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/releng/makerel.sh b/releng/makerel.sh index 09b1f90..75d1f8c 100755 --- a/releng/makerel.sh +++ b/releng/makerel.sh | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | export OPENSIMMAJOR=0 | 5 | export OPENSIMMAJOR=0 |
6 | export OPENSIMMINOR=1 | 6 | export OPENSIMMINOR=1 |
7 | export BUILD=`date +%s` | ||
7 | export BRANCH=DEVEL | 8 | export BRANCH=DEVEL |
8 | export SVNURL=svn://openmetaverse.org/opensim/trunk | 9 | export SVNURL=svn://openmetaverse.org/opensim/trunk |
9 | 10 | ||
@@ -17,8 +18,8 @@ export SVNURL=svn://openmetaverse.org/opensim/trunk | |||
17 | ./createreldir.sh | 18 | ./createreldir.sh |
18 | rm -rf build | 19 | rm -rf build |
19 | 20 | ||
20 | tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/* | 21 | tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/* |
21 | gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar | 22 | gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar |
22 | 23 | ||
23 | echo "Produced binary tarball ready for distribution." | 24 | echo "Produced binary tarball ready for distribution." |
24 | 25 | ||
diff --git a/releng/parsetmpl.sh b/releng/parsetmpl.sh index 8e4eac2..0ce6d24 100755 --- a/releng/parsetmpl.sh +++ b/releng/parsetmpl.sh | |||
@@ -2,4 +2,4 @@ | |||
2 | 2 | ||
3 | # this script parses a template to replace @@ tokens | 3 | # this script parses a template to replace @@ tokens |
4 | 4 | ||
5 | cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/`date +%s`/g | sed s/@@SVNREV/`svnversion`/g | 5 | cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/$BUILD/g | sed s/@@SVNREV/`svnversion`/g |