summaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2015-04-02 18:23:29 -0700
committerAmjith Ramanujam <amjith.r@gmail.com>2015-04-02 18:23:29 -0700
commit37616d9927d888b742fced2e05ce63a2c5909e5b (patch)
tree01837b69befc6587d0a7b678f42887774147431b /release.py
parent5a1a9435cfdcf7cf6d884322a3a54500f4e9c31c (diff)
Update release script.
Diffstat (limited to 'release.py')
-rw-r--r--release.py6
1 files changed, 6 insertions, 0 deletions
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()