Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/config/bump_version
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-07-21 17:30:43 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-07-21 17:30:43 (GMT)
commit5ab8ddb8ddb8dc6925cb3bb5f52e0a06b7a1c439 (patch)
tree01e6ca6d9d6eaa54052480200f039c8e50f0166f /config/bump_version
parentd4fe57f377d8f78f02a9e5f6d9c201b4e9eb86f4 (diff)
rearrange source tree to match that of the tarball
Diffstat (limited to 'config/bump_version')
-rwxr-xr-xconfig/bump_version6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/bump_version b/config/bump_version
new file mode 100755
index 0000000..1c190a2
--- /dev/null
+++ b/config/bump_version
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+s = open('config/VERSION').read().strip().split('.')
+nv = '.'.join(s[:-1] + [str(int(s[-1] or "0")+1)])
+print nv
+open('config/VERSION', 'w').write(nv+"\n")