fixed genvers.sh
parent
ee214468c2
commit
61c9931830
|
@ -3,7 +3,7 @@
|
||||||
MAJOR=0
|
MAJOR=0
|
||||||
MINOR=1
|
MINOR=1
|
||||||
BUILD=`date +%s`
|
BUILD=`date +%s`
|
||||||
REVISION=`svnversion | sed s/:// | sed s/M//`
|
REVISION=`svnversion . | sed s/:// | sed s/M//`
|
||||||
REALREVISION=`svnversion`
|
REALREVISION=`svnversion`
|
||||||
cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs
|
cat src/VersionInfo.cs.template | sed s/@@VERSION/"$MAJOR.$MINOR, Build $BUILD, Revision $REALREVISION"/g >src/VersionInfo.cs
|
||||||
echo -n $MAJOR.$MINOR.*.$REVISION >VERSION
|
echo -n $MAJOR.$MINOR.*.$REVISION >VERSION
|
||||||
|
|
Loading…
Reference in New Issue