olm/lib/doctest/scripts/update_changelog.py
Hubert Chathi 8475061136 switch to doctest for unit testing
thanks to Nico Werner, who did most of the porting work
2021-12-22 13:45:33 -05:00

13 lines
298 B
Python

#!/usr/bin/python2.7
import os
# the version of the release
with open("version.txt") as f: version = f.read()
# update changelog
print("updating changelog")
os.chdir("../")
os.system("github_changelog_generator --future-release " + version)
os.system("git add CHANGELOG.md")
os.chdir("scripts")