Merged in bugfix/tag-command-checks (pull request #4)

bugfix: tag command checks

Approved-by: Jonathan Teran
This commit is contained in:
JonathanGitFlow
2025-11-02 15:34:46 +00:00
committed by jt
3 changed files with 12 additions and 3 deletions
+10
View File
@@ -1,3 +1,13 @@
## Jonathan Teran Carballo (jonathan.nerat@gmail.com) - 02/11/2025 12:34
**bugfix/tag-command-checks**
- **bugfix**: cambio imagen de python a la default de atlassian (ee8eb17)
- bitbucket-pipelines.yml (M)
- **bugfix**: deshabilito los checks para la ejecucion de commandos para obtener tags (83c1ebc)
- git-flow (M)
---
## Jonathan Teran Carballo (jonathan.nerat@gmail.com) - 02/11/2025 12:26
**feature/agregar-bitbucket-pipelines.yml**
-1
View File
@@ -1,4 +1,3 @@
image: python:3.12-slim-bookworm
pipelines:
branches:
'dev':
+2 -2
View File
@@ -327,7 +327,7 @@ def tag_command():
message = output[pos+1:]
merged_branch = None
output = Git("describe", commit, tags=True, exact_match=True).firstline()
output = Git("describe", commit, tags=True, exact_match=True).without_checking().firstline()
if output:
print_error("El ultimo merge ya tiene tag: " + output)
@@ -345,7 +345,7 @@ def tag_command():
remote = Git.flow_config("flow.remote").firstline()
branch = Git.get_current_branch()
output = Git("describe", abbrev="0", tags=True).firstline()
output = Git("describe", abbrev="0", tags=True).without_checking().firstline()
last_version = output if output else "v1.0.0"
from_major = 1
until_dash = last_version.index("-") if "-" in last_version else None