Compare commits

...
4 Commits
2 changed files with 14 additions and 1 deletions
+8
View File
@@ -1,3 +1,11 @@
## v1.10.0 - 2025-12-15
- **feature**: agrego opcion para cambiar a rama objetivo y obtener cambios [[jteran](mailto:jteran@renatre.org.ar)] (df8998a)
- **feature**: agrego opcion para personalizar nombre de PR [[jteran](mailto:jteran@renatre.org.ar)] (c87b141)
---
## v1.9.1 - 2025-12-15 ## v1.9.1 - 2025-12-15
- **bugfix**: uso rama actual cuando esta es un entorno [[jteran](mailto:jteran@renatre.org.ar)] (c54cb95) - **bugfix**: uso rama actual cuando esta es un entorno [[jteran](mailto:jteran@renatre.org.ar)] (c54cb95)
+6 -1
View File
@@ -80,7 +80,8 @@ class MergeCommand(Command):
def create_pull_request(self, token: str, branch: str, target: str): def create_pull_request(self, token: str, branch: str, target: str):
changelog = Changelog() changelog = Changelog()
title = branch.replace("/", ": ").replace("-", " ") title = self.prompt("[Opcional] Ingrese un titulo para el PR")
title = title or branch.replace("/", ": ").replace("-", " ")
if title.startswith("release: "): if title.startswith("release: "):
title = title[title.index(' ', title.index(' ') + 1) + 1:] title = title[title.index(' ', title.index(' ') + 1) + 1:]
@@ -93,3 +94,7 @@ class MergeCommand(Command):
) )
self.success(message) self.success(message)
if self.confirm("¿Desea cambiar a la rama objetivo y bajar los cambios?"):
Git("switch", target).exec(print="Cambiando a rama objetivo")
Git("pull").exec(print="Obteniendo cambios")