X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=do-commit.sh;fp=do-commit.sh;h=4e26a3d9f8c08dbdffe5d26d899905b244bcc352;hp=795ce32921191b21aea278e0bee0dc59abe4eace;hb=e83dbdbc6200a71981d06773869cd0492f81f16c;hpb=6a0fbdc73204a837ec7d378eaf0e1248a982ba9d diff --git a/do-commit.sh b/do-commit.sh index 795ce32..4e26a3d 100755 --- a/do-commit.sh +++ b/do-commit.sh @@ -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.date svn commit "$@"