diff options
author | gareth | 2007-03-14 03:32:02 +0000 |
---|---|---|
committer | gareth | 2007-03-14 03:32:02 +0000 |
commit | 5d2cadf6de749dab1430c016a29e09461d288693 (patch) | |
tree | 4f5698b45404b0898070419438719ff71ec3877c /ogs/genvers.sh | |
parent | added movement etc from r191 (diff) | |
download | opensim-SC-5d2cadf6de749dab1430c016a29e09461d288693.zip opensim-SC-5d2cadf6de749dab1430c016a29e09461d288693.tar.gz opensim-SC-5d2cadf6de749dab1430c016a29e09461d288693.tar.bz2 opensim-SC-5d2cadf6de749dab1430c016a29e09461d288693.tar.xz |
Merged ogs-cs into trunk
Diffstat (limited to 'ogs/genvers.sh')
-rw-r--r-- | ogs/genvers.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ogs/genvers.sh b/ogs/genvers.sh new file mode 100644 index 0000000..8d8007c --- /dev/null +++ b/ogs/genvers.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | MAJOR=0 | ||
4 | MINOR=1 | ||
5 | BUILD=`date +%s` | ||
6 | REVISION=`svnversion . | sed s/:// | sed s/M//` | ||
7 | REALREVISION=`svnversion` | ||
8 | cat common/src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >common/src/VersionInfo.cs | ||
9 | echo -n $MAJOR.$MINOR.*.$REVISION >VERSION | ||