Merged in bugfix/remove-branch-from-last-env-tag (pull request #20)
bugfix: remove branch from last env tag Approved-by: Jonathan Teran
This commit is contained in:
@@ -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
|
## Martes, 4 de Noviembre de 2025, 21:11
|
||||||
|
|
||||||
- Autor: [Jonathan Teran Carballo](mailto:jonathan.nerat@gmail.com)
|
- Autor: [Jonathan Teran Carballo](mailto:jonathan.nerat@gmail.com)
|
||||||
|
|||||||
@@ -398,7 +398,9 @@ def tag_command():
|
|||||||
elif increment == "patch":
|
elif increment == "patch":
|
||||||
patch = patch + 1
|
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:
|
if ci:
|
||||||
url = Git("remote", "get-url", remote).firstline()
|
url = Git("remote", "get-url", remote).firstline()
|
||||||
|
|||||||
Reference in New Issue
Block a user