2007-03-07 18:49:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
MAJOR=0
|
|
|
|
MINOR=1
|
|
|
|
BUILD=`date +%s`
|
2007-03-07 19:30:03 +00:00
|
|
|
REVISION=`svnversion . | sed s/:// | sed s/M//`
|
2007-03-07 18:49:20 +00:00
|
|
|
REALREVISION=`svnversion`
|
|
|
|
cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs
|
2007-03-18 20:44:15 +00:00
|
|
|
echo -n $MAJOR.$MINOR.0.$REVISION >VERSION
|