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()