Compare commits

...
6 Commits
3 changed files with 20 additions and 8 deletions
+14
View File
@@ -1,3 +1,17 @@
## v1.7.3 - 2025-12-14
- **bugfix**: listado de ramas para elegir grupo release no devolvia resultados [[jteran](mailto:jteran@renatre.org.ar)] (5600e5e)
---
## v1.7.2 - 2025-12-11
- **bugfix**: al hacer un release, cambio a la rama grupo si esta disponible [[jteran](mailto:jteran@renatre.org.ar)] (44b8efd)
---
## v1.7.1 - 2025-12-11 ## v1.7.1 - 2025-12-11
- **bugfix**: cambio la forma en la que se obtiene el first fork point entre 2 ramas [[jteran](mailto:jteran@renatre.org.ar)] (7b4fb34) - **bugfix**: cambio la forma en la que se obtiene el first fork point entre 2 ramas [[jteran](mailto:jteran@renatre.org.ar)] (7b4fb34)
+5 -4
View File
@@ -56,10 +56,11 @@ class ReleaseCommand(Command):
group = args.group group = args.group
if not group and self.confirm("¿Desea agrupar este release con otra rama?", False): if not group:
group = self.choice("Grupo release: ", Git.get_branches("release/" + next_env + "/")) if self.confirm("¿Desea agrupar este release con otra rama?", False):
else: group = self.choice("Grupo release: ", Git.get_branches("release/" + next_env + "/"))
group = next_env else:
group = next_env
if has_remote: if has_remote:
Git("switch", group).exec(print="Cambiando a la rama objetivo") Git("switch", group).exec(print="Cambiando a la rama objetivo")
+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: