diff --git a/.gitea/workflows/publish-pypi.yaml b/.gitea/workflows/publish-pypi.yaml index 311ebbd..d55b628 100644 --- a/.gitea/workflows/publish-pypi.yaml +++ b/.gitea/workflows/publish-pypi.yaml @@ -10,8 +10,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 - with: - fetch-depth: 0 - name: Configure git run: | @@ -24,12 +22,10 @@ jobs: with: python-version-file: ".python-version" - - name: Install uv - uses: astral-sh/setup-uv@v8.3.2 - - - name: Bump version - run: | - uv run git-flow tag --token="${{ secrets.GITEA_TOKEN }}" + - name: "Install git-flow and bump version" + - run: | + pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}" + git-flow tag --token="${{ secrets.GITEA_TOKEN }}" - name: Build and publish run: |