blob: 8d8007c92012c9029c0a8c05ee7bb4af95fbe203 (
plain)
1
2
3
4
5
6
7
8
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
|