bugfix: al hacer un release, cambio a la rama grupo si esta disponible
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user