From 37616d9927d888b742fced2e05ce63a2c5909e5b Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Thu, 2 Apr 2015 18:23:29 -0700 Subject: [PATCH] Update release script. --- release.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/release.py b/release.py index a2c2208a..e2235648 100644 --- a/release.py +++ b/release.py @@ -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()