mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Updated to have uniform build number
This commit is contained in:
@@ -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."
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user