Merge pull request #62 from mbacovsky/tag_checker_issue

Fixed check for existing tag
This commit is contained in:
jesus m. rodriguez 2013-02-19 11:14:59 -08:00
commit 562ef769df

View file

@ -445,7 +445,7 @@ class VersionTagger(object):
def _check_tag_does_not_exist(self, new_tag):
status, output = commands.getstatusoutput(
'git tag | grep %s' % new_tag)
'git tag -l %s|grep ""' % new_tag)
if status == 0:
raise Exception("Tag %s already exists!" % new_tag)