Compare commits

..
2 Commits
Author SHA1 Message Date
jt f233adfd1d Merge pull request 'feature: print current tag command output' (#3) from feature/log-current-tag-command into main
Publish to PyPI / Publish-to-PyPI (push) Failing after 10s
Reviewed-on: #3
2026-07-18 01:35:03 +00:00
jt 0cdc01291c feature: print current tag command output 2026-07-17 22:34:39 -03:00
+2 -2
View File
@@ -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 ""