Prepping release

This commit is contained in:
Michael Lazar
2017-03-29 23:33:23 -07:00
parent edc40af723
commit 07edc9fb04
6 changed files with 29 additions and 7 deletions

2
scripts/update_packages.py Normal file → Executable file
View File

@@ -28,7 +28,7 @@ def main():
p.wait()
commit = p.stdout.read().strip()
print('Found commit %s' % commit)
regex = '"s/^__praw_hash__ =.*$/__praw_hash__ = \'%s\'/g"' % commit
regex = 's/^__praw_hash__ =.*$/__praw_hash__ = \'%s\'/g' % commit
packages_root = os.path.join(ROOT, 'rtv', 'packages', '__init__.py')
print('Updating commit hash in %s' % packages_root)
subprocess.check_call(['sed', '-i', '', regex, packages_root])