1
0
Fork 0

Fix the release script to push tags.

This commit is contained in:
Amjith Ramanujam 2015-01-31 15:28:38 -08:00
parent 4e815a9058
commit e584bce193
1 changed files with 7 additions and 0 deletions

View File

@ -42,6 +42,12 @@ def create_source_tarball():
print(' '.join(cmd))
subprocess.check_output(cmd)
def push_tags_to_github():
cmd = ['git', 'push', '--tags', 'origin']
print(' '.join(cmd))
subprocess.check_output(cmd)
if __name__ == '__main__':
if DEBUG:
subprocess.check_output = lambda x: x
@ -55,3 +61,4 @@ if __name__ == '__main__':
create_git_tag('v%s' % ver)
register_with_pypi()
create_source_tarball()
push_tags_to_github()