Rocco Rutte:
[apps/madmutt.git] / do-commit.sh
index 795ce32..3faaecb 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh
-date "+%Y%m%d" > ./VERSION.date
+svn update
+CURREV=`svn info | grep '^Revision' | cut -d : -f 2`
+echo "`echo $CURREV+1 | bc`" > ./VERSION.svn
 svn commit "$@"