Merged in bugfix/release-switch-to-group (pull request #47)

bugfix: release switch to group

Approved-by: Jonathan Teran
This commit is contained in:
JonathanGitFlow
2025-12-11 20:07:56 +00:00
committed by jt
+5 -4
View File
@@ -56,10 +56,11 @@ class ReleaseCommand(Command):
group = args.group
if not group and self.confirm("¿Desea agrupar este release con otra rama?", False):
group = self.choice("Grupo release: ", Git.get_branches("release/" + next_env + "/"))
else:
group = next_env
if not group:
if self.confirm("¿Desea agrupar este release con otra rama?", False):
group = self.choice("Grupo release: ", Git.get_branches("release/" + next_env + "/"))
else:
group = next_env
if has_remote:
Git("switch", group).exec(print="Cambiando a la rama objetivo")