summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h2
-rwxr-xr-xsvn_commit.sh5
2 files changed, 6 insertions, 1 deletions
diff --git a/config.h b/config.h
index 3318440..f73bab3 100644
--- a/config.h
+++ b/config.h
@@ -1 +1 @@
-#define TUXANCI_NG_VERSION "svn117"
+#define TUXANCI_NG_VERSION "svn118"
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