Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/config/bump_version
diff options
context:
space:
mode:
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")