diff --git a/releng/makerel.sh b/releng/makerel.sh index 09b1f902f3..75d1f8c17f 100755 --- a/releng/makerel.sh +++ b/releng/makerel.sh @@ -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." diff --git a/releng/parsetmpl.sh b/releng/parsetmpl.sh index 8e4eac2328..0ce6d24385 100755 --- a/releng/parsetmpl.sh +++ b/releng/parsetmpl.sh @@ -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