feature: muevo opciones para check y print a metodos para ejecutar git

This commit is contained in:
jt
2025-11-22 11:23:24 -03:00
parent 37a7c101af
commit 7346cfd1a8
3 changed files with 27 additions and 29 deletions
+1 -5
View File
@@ -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)