bugfix: listado de ramas para elegir grupo release no devolvia resultados

This commit is contained in:
Jonathan Teran Carballo
2025-12-14 11:59:42 -03:00
parent 57142afa40
commit 5600e5ec83
+1 -4
View File
@@ -74,10 +74,7 @@ class Git:
@staticmethod @staticmethod
def _get_references(kind: str): def _get_references(kind: str):
prefix = "refs/" + kind prefix = "refs/" + kind
return list(map( return Git("for-each-ref", prefix + "**", format="%(refname:short)").lines()
lambda r: r.removeprefix(prefix),
Git("for-each-ref", prefix + "*", format="%(refname)").lines(),
))
@staticmethod @staticmethod
def is_repository() -> bool: def is_repository() -> bool: