From 3a1220f25787119ce72e7ac0efc626ec6808e58a Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Mon, 21 Sep 2026 16:26:35 -0300 Subject: [PATCH] docs: remove skip step logic, fail if no new tag --- .gitea/workflows/bump-build-publish.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.gitea/workflows/bump-build-publish.yaml b/.gitea/workflows/bump-build-publish.yaml index ee98a10..e64c20c 100644 --- a/.gitea/workflows/bump-build-publish.yaml +++ b/.gitea/workflows/bump-build-publish.yaml @@ -23,21 +23,11 @@ jobs: run: | pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}" git-flow tag --token="${{ secrets.GITEA_TOKEN }}" - RESULT="$?" - - if [ "$RESULT" -eq 0 ]; then - echo "New tag available." - echo "should_build=true" >> $GITHUB_OUTPUT - else - echo "No new tag available, skipping next step." - echo "should_build=false" >> $GITHUB_OUTPUT - fi - name: Install uv uses: astral-sh/setup-uv@v8.3.2 - name: Build and publish - if: steps.version.outputs.should_build == 'true' run: | uv build uv publish --token="${{ secrets.PYPI_TOKEN }}" -- 2.54.0