Skip to content

Commit

Permalink
Update release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
amjith committed Apr 3, 2015
1 parent 5a1a943 commit 37616d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -61,4 +66,5 @@ def push_tags_to_github():
create_git_tag('v%s' % ver)
register_with_pypi()
create_source_tarball()
push_to_github()
push_tags_to_github()

0 comments on commit 37616d9

Please sign in to comment.