Updated to have uniform build number
parent
a10f9684c1
commit
f4a7d8ec79
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
export OPENSIMMAJOR=0
|
export OPENSIMMAJOR=0
|
||||||
export OPENSIMMINOR=1
|
export OPENSIMMINOR=1
|
||||||
|
export BUILD=`date +%s`
|
||||||
export BRANCH=DEVEL
|
export BRANCH=DEVEL
|
||||||
export SVNURL=svn://openmetaverse.org/opensim/trunk
|
export SVNURL=svn://openmetaverse.org/opensim/trunk
|
||||||
|
|
||||||
|
@ -17,8 +18,8 @@ export SVNURL=svn://openmetaverse.org/opensim/trunk
|
||||||
./createreldir.sh
|
./createreldir.sh
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|
||||||
tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/*
|
tar cvf opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar opensim-$OPENSIMMAJOR.$OPENSIMMINOR/*
|
||||||
gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-`date +%s`-$BRANCH.tar
|
gzip opensim-$OPENSIMMAJOR.$OPENSIMMINOR-$BUILD-$BRANCH.tar
|
||||||
|
|
||||||
echo "Produced binary tarball ready for distribution."
|
echo "Produced binary tarball ready for distribution."
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
# this script parses a template to replace @@ tokens
|
# 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
|
||||||
|
|
Loading…
Reference in New Issue