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
|
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user