mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Move tagging to use git
This commit is contained in:
parent
866bbaec91
commit
6f408ec810
@ -105,11 +105,10 @@ class Manual(Command):
|
||||
|
||||
class TagRelease(Command):
|
||||
|
||||
description = 'Tag a new release in bzr'
|
||||
description = 'Tag a new release in git'
|
||||
|
||||
def run(self, opts):
|
||||
self.info('Tagging release')
|
||||
subprocess.check_call(('bzr tag '+__version__).split())
|
||||
subprocess.check_call('bzr commit --unchanged -m'.split() + ['IGN:Tag release'])
|
||||
|
||||
subprocess.check_call('git tag -a {0} -m "version-{0}"'.format(__version__).split())
|
||||
subprocess.check_call('git push origin {0}'.format(__version__).split())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user