diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9de3058bf..3056c1ed9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,9 +29,6 @@ jobs: - run: git reset --hard ${{ github.sha }} - - name: Install uv - uses: astral-sh/setup-uv@v7 - - name: Python Semantic Release id: release uses: python-semantic-release/python-semantic-release@v10.5.3 diff --git a/pyproject.toml b/pyproject.toml index dc1213899..0bfb1a95b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -137,7 +137,7 @@ constraint-dependencies = [ uv_constraints = [] [tool.semantic_release] -build_command = "SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION uv build" +build_command = "python -m pip install --upgrade build && SETUPTOOLS_SCM_PRETEND_VERSION=$NEW_VERSION python -m build" [tool.semantic_release.commit_parser_options] minor_tags = ["feat", "docs"]