summaryrefslogtreecommitdiff
path: root/svn_commit.sh
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-07 12:29:37 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-07 12:29:37 +0000
commitb57548caacd0e6f01a2395e118b1d4ca7bbdc282 (patch)
tree4843ce49debc31c16f9ec93291ee12781a5058f4 /svn_commit.sh
parent8fa17d9ca4c03a6af3bf80d6d733bc2ede86f3ad (diff)
- pridan prikaz svn_commit.sh ktery odesle vasi verzi
patchu se spravnym config.h naprosto bezstarostne git-svn-id: http://opensvn.csie.org/tuxanci_ng@118 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
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