feature: agrego opcion para personalizar nombre de PR
This commit is contained in:
@@ -80,7 +80,8 @@ class MergeCommand(Command):
|
||||
|
||||
def create_pull_request(self, token: str, branch: str, target: str):
|
||||
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: "):
|
||||
title = title[title.index(' ', title.index(' ') + 1) + 1:]
|
||||
|
||||
Reference in New Issue
Block a user