Merged in bugfix/tag-command-checks (pull request #4)
bugfix: tag command checks Approved-by: Jonathan Teran
This commit is contained in:
@@ -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
|
## Jonathan Teran Carballo (jonathan.nerat@gmail.com) - 02/11/2025 12:26
|
||||||
|
|
||||||
**feature/agregar-bitbucket-pipelines.yml**
|
**feature/agregar-bitbucket-pipelines.yml**
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
image: python:3.12-slim-bookworm
|
|
||||||
pipelines:
|
pipelines:
|
||||||
branches:
|
branches:
|
||||||
'dev':
|
'dev':
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ def tag_command():
|
|||||||
message = output[pos+1:]
|
message = output[pos+1:]
|
||||||
merged_branch = None
|
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:
|
if output:
|
||||||
print_error("El ultimo merge ya tiene tag: " + output)
|
print_error("El ultimo merge ya tiene tag: " + output)
|
||||||
@@ -345,7 +345,7 @@ def tag_command():
|
|||||||
|
|
||||||
remote = Git.flow_config("flow.remote").firstline()
|
remote = Git.flow_config("flow.remote").firstline()
|
||||||
branch = Git.get_current_branch()
|
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"
|
last_version = output if output else "v1.0.0"
|
||||||
from_major = 1
|
from_major = 1
|
||||||
until_dash = last_version.index("-") if "-" in last_version else None
|
until_dash = last_version.index("-") if "-" in last_version else None
|
||||||
|
|||||||
Reference in New Issue
Block a user