From 5d2cadf6de749dab1430c016a29e09461d288693 Mon Sep 17 00:00:00 2001 From: gareth Date: Wed, 14 Mar 2007 03:32:02 +0000 Subject: Merged ogs-cs into trunk --- ogs/genvers.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ogs/genvers.sh (limited to 'ogs/genvers.sh') 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 @@ +#!/bin/bash + +MAJOR=0 +MINOR=1 +BUILD=`date +%s` +REVISION=`svnversion . | sed s/:// | sed s/M//` +REALREVISION=`svnversion` +cat common/src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >common/src/VersionInfo.cs +echo -n $MAJOR.$MINOR.*.$REVISION >VERSION -- cgit v1.1