From e9b44eb155f8b459dc3daa42b56849834a6ad53e Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Thu, 6 Nov 2025 21:17:06 -0300 Subject: [PATCH 1/2] bugfix: elimino nombre de rama de tag en el ultimo environment --- src/git_flow/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/git_flow/main.py b/src/git_flow/main.py index 5283a27..3e91884 100755 --- a/src/git_flow/main.py +++ b/src/git_flow/main.py @@ -398,7 +398,9 @@ def tag_command(): elif increment == "patch": patch = patch + 1 - new_version = f"v{major}.{minor}.{patch}-{branch}" + last_branch = Git.flow_config("flow.branches").firstline().split(" ")[-1] + suffix = "-" + branch if branch != last_branch else "" + new_version = f"v{major}.{minor}.{patch}" + suffix if ci: url = Git("remote", "get-url", remote).firstline() From 0044e3590f3b9855e72b4a51e26dcc35fa121a57 Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Thu, 6 Nov 2025 21:18:24 -0300 Subject: [PATCH 2/2] Updated CHANGELOG.md --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c442ea..d306468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## Jueves, 6 de Noviembre de 2025, 21:18 + +- Autor: [Jonathan Teran Carballo](mailto:jonathan.nerat@gmail.com) +- Rama: `bugfix/remove-branch-from-last-env-tag` + +### Commits + +- **bugfix**: elimino nombre de rama de tag en el ultimo environment (e9b44eb) + - src/git_flow/main.py (M) + +--- + ## Martes, 4 de Noviembre de 2025, 21:11 - Autor: [Jonathan Teran Carballo](mailto:jonathan.nerat@gmail.com)