feature: muevo opciones para check y print a metodos para ejecutar git
This commit is contained in:
@@ -77,11 +77,7 @@ class TagCommand(Command):
|
||||
return commit
|
||||
|
||||
def check_not_tagged(self, commit: str):
|
||||
tag = (
|
||||
Git("describe", commit, tags=True, exact_match=True)
|
||||
.without_checking()
|
||||
.firstline()
|
||||
)
|
||||
tag = Git("describe", commit, tags=True, exact_match=True).firstline(check=False)
|
||||
|
||||
if tag:
|
||||
raise GitFlowError("El commit a taggear ya tiene tag: " + tag)
|
||||
|
||||
Reference in New Issue
Block a user