onqtam | e8bdda4 | 2016-06-01 15:12:36 +0300 | [diff] [blame] | 1 | #!/usr/bin/python2.7 |
2 | |||||
3 | import os | ||||
4 | import sys | ||||
5 | import subprocess | ||||
6 | import fileinput | ||||
7 | import time | ||||
8 | |||||
9 | # the version of the release | ||||
10 | with open("version.txt") as f: version = f.read() | ||||
11 | |||||
12 | # update changelog | ||||
13 | print("updating changelog") | ||||
14 | os.chdir("../") | ||||
15 | os.system("github_changelog_generator --future-release " + version) | ||||
16 | os.system("git add CHANGELOG.md") | ||||
17 | os.chdir("scripts") |