From b24b22a178d7b30ced7e468ca192678d344c0188 Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Sun, 14 Dec 2025 12:20:32 -0300 Subject: [PATCH] =?UTF-8?q?bugfix:=20generaci=C3=B3n=20de=20PR=20de=20rama?= =?UTF-8?q?s=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/git_flow/command/merge.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/git_flow/command/merge.py b/src/git_flow/command/merge.py index af5a8b7..23c8121 100644 --- a/src/git_flow/command/merge.py +++ b/src/git_flow/command/merge.py @@ -80,6 +80,10 @@ class MergeCommand(Command): def create_pull_request(self, token: str, branch: str, target: str): changelog = Changelog() + title = branch.replace("/", ": ").replace("-", " ") + + if title.startswith("release: "): + title = title[title.index(' ', title.index(' ') + 1) + 1:] message = self.get_remote_api(token).create_pull_request( branch,