From 2159b3079ec8df2a7337a9d4ea54810b7028c4e1 Mon Sep 17 00:00:00 2001 From: gareth Date: Wed, 7 Mar 2007 19:07:00 +0000 Subject: fixed last screwup --- genvers.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 genvers.sh (limited to 'genvers.sh') diff --git a/genvers.sh b/genvers.sh new file mode 100755 index 0000000..3da91d7 --- /dev/null +++ b/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 src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs +echo -n $MAJOR.$MINOR.*.$REVISION >VERSION -- cgit v1.1