From 0cdc01291c42417ea8d38387646b4ca18d3589da Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Fri, 17 Jul 2026 22:34:39 -0300 Subject: [PATCH] feature: print current tag command output --- src/git_flow/git.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/git_flow/git.py b/src/git_flow/git.py index 28c5243..2912ac9 100644 --- a/src/git_flow/git.py +++ b/src/git_flow/git.py @@ -53,7 +53,7 @@ class Git: @staticmethod def get_current_tag(): - return Git("describe", abbrev="0", tags=True).firstline(check=False) + return Git("describe", abbrev="0", tags=True).firstline(check=False, print="Obteniendo tag actual") @staticmethod def get_first_fork_point(branch: str, env: str): @@ -117,7 +117,7 @@ class Git: return lines if not strip else list(map(lambda l: l.strip(), lines)) - def firstline(self, **kwargs: bool): + def firstline(self, **kwargs): lines = self.lines(**kwargs) return lines[0] if lines else ""