mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
Merge pull request #62 from mbacovsky/tag_checker_issue
Fixed check for existing tag
This commit is contained in:
commit
562ef769df
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue