Rocco Rutte:
[apps/madmutt.git] / do-commit.sh
index 795ce32..d36aa33 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
-date "+%Y%m%d" > ./VERSION.date
+svn update
+echo "`svn info | awk -F': ' '/^Revision: / {print $2}'`+1" | bc > ./trunk/VERSION.svn
 svn commit "$@"