summaryrefslogtreecommitdiff
path: root/svn_commit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'svn_commit.sh')
-rwxr-xr-xsvn_commit.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/svn_commit.sh b/svn_commit.sh
new file mode 100755
index 0000000..1441474
--- /dev/null
+++ b/svn_commit.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+svn up
+REVIZE=$(( `svn info | grep Revision |awk -F ': ' '{print $2}'` + 1 ))
+echo "#define TUXANCI_NG_VERSION \"svn${REVIZE}\"" > config.h
+svn ci