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