From 16476f06b867adf01fa0d17c6761f4a862fc17ad Mon Sep 17 00:00:00 2001 From: gareth Date: Wed, 7 Mar 2007 18:49:20 +0000 Subject: Imported branch --- ConvertToPlugins/genvers.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 ConvertToPlugins/genvers.sh (limited to 'ConvertToPlugins/genvers.sh') diff --git a/ConvertToPlugins/genvers.sh b/ConvertToPlugins/genvers.sh new file mode 100755 index 0000000..3da91d7 --- /dev/null +++ b/ConvertToPlugins/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