From 96c787b38ce14d69ca6d754371bab12d15f2d5c0 Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Mon, 3 Nov 2025 21:54:03 -0300 Subject: [PATCH] bugfix: arreglo ejecucion de tag mediante pipeline --- bitbucket-pipelines.yml | 8 ++++---- src/git_flow/main.py | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 4e00f4d..0106802 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -7,12 +7,12 @@ pipelines: name: "Tag dev" script: - cd $BITBUCKET_CLONE_DIR - - pip install -r requirements.txt - - ./git-flow tag $BEARER + - pip install . + - ./src/git_flow/main.py tag $BEARER 'main': - step: name: "Tag main" script: - cd $BITBUCKET_CLONE_DIR - - pip install -r requirements.txt - - ./git-flow tag $BEARER + - pip install . + - ./src/git_flow/main.py tag $BEARER diff --git a/src/git_flow/main.py b/src/git_flow/main.py index 6d31afa..5283a27 100755 --- a/src/git_flow/main.py +++ b/src/git_flow/main.py @@ -661,3 +661,6 @@ def get_api_endpoint(service: str, repository: str, path: str): return "https://api.bitbucket.org/2.0/repositories/" + repository + path return "" + +if __name__ == "__main__": + main()