1
0
Fork 0

Update release script.

This commit is contained in:
Amjith Ramanujam 2015-04-02 18:23:29 -07:00
parent 5a1a9435cf
commit 37616d9927
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,11 @@ def create_source_tarball():
print(' '.join(cmd))
subprocess.check_output(cmd)
def push_to_github():
cmd = ['git', 'push', 'origin']
print(' '.join(cmd))
subprocess.check_output(cmd)
def push_tags_to_github():
cmd = ['git', 'push', '--tags', 'origin']
print(' '.join(cmd))
@ -61,4 +66,5 @@ if __name__ == '__main__':
create_git_tag('v%s' % ver)
register_with_pypi()
create_source_tarball()
push_to_github()
push_tags_to_github()