Updated to have uniform build number

0.1-prestable
gareth 2007-05-06 15:04:10 +00:00
parent a10f9684c1
commit f4a7d8ec79
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@
export OPENSIMMAJOR=0
export OPENSIMMINOR=1
export BUILD=`date +%s`
export BRANCH=DEVEL
export SVNURL=svn://openmetaverse.org/opensim/trunk
@ -17,8 +18,8 @@ export SVNURL=svn://openmetaverse.org/opensim/trunk
./createreldir.sh
rm -rf build
tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/*
gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar
tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/*
gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar
echo "Produced binary tarball ready for distribution."

View File

@ -2,4 +2,4 @@
# this script parses a template to replace @@ tokens
cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/`date +%s`/g | sed s/@@SVNREV/`svnversion`/g
cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/$BUILD/g | sed s/@@SVNREV/`svnversion`/g