Skip to content
Newer
Older
100644 10 lines (7 sloc) 240 Bytes
3c4159b @flavour .gitatributes to update VERSION file; Survey/Chart tweaks
authored
1 #!/bin/python27/python.exe
2
3 import os
4 import datetime
5 now = datetime.datetime.today()
6
7 version, rest = open("VERSION", "r").read()[1:].split(" ", 1)
8 output = "r%s (%s)" % (int(version) + 1, str(now)[:-7])
9 open("VERSION", "w").write(output)
Something went wrong with that request. Please try again.