diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-01-31 15:28:38 -0800 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-01-31 15:28:38 -0800 |
commit | e584bce19363184d219b75ade5e8bd42abb80ac8 (patch) | |
tree | 7449eac43dce6f4b5f4a12c73d72f94b0c70df75 | |
parent | 4e815a9058f19c09dea94df84b8595d74c1265ad (diff) |
Fix the release script to push tags.
-rw-r--r-- | release.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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() |