Prefix version tags with v

This commit is contained in:
Kovid Goyal 2013-07-03 08:12:33 +05:30
parent 744f05b688
commit e8839bc8dc

View File

@ -113,6 +113,6 @@ class TagRelease(Command):
def run(self, opts): def run(self, opts):
self.info('Tagging release') self.info('Tagging release')
subprocess.check_call('git tag -a {0} -m "version-{0}"'.format(__version__).split()) subprocess.check_call('git tag -a v{0} -m "version-{0}"'.format(__version__).split())
subprocess.check_call('git push origin {0}'.format(__version__).split()) subprocess.check_call('git push origin v{0}'.format(__version__).split())