Prepping release

This commit is contained in:
Michael Lazar committed 2017-03-29 23:33:23 -07:00
1 parent edc40af723
commit 07edc9fb04
6 files changed
+29 -7

No files matched your search

Regular → Executable
+1 -1
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])