bugfix: elimino nombre de rama de tag en el ultimo environment

This commit is contained in:
jt
2025-11-06 21:17:06 -03:00
parent d82ca901e7
commit e9b44eb155
+3 -1
View File
@@ -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()