diff options
Diffstat (limited to 'genvers.sh')
-rwxr-xr-x | genvers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,7 +3,7 @@ | |||
3 | MAJOR=0 | 3 | MAJOR=0 |
4 | MINOR=1 | 4 | MINOR=1 |
5 | BUILD=`date +%s` | 5 | BUILD=`date +%s` |
6 | REVISION=`svnversion | sed s/:// | sed s/M//` | 6 | REVISION=`svnversion . | sed s/:// | sed s/M//` |
7 | REALREVISION=`svnversion` | 7 | REALREVISION=`svnversion` |
8 | cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs | 8 | cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs |
9 | echo -n $MAJOR.$MINOR.*.$REVISION >VERSION | 9 | echo -n $MAJOR.$MINOR.*.$REVISION >VERSION |