From 81e9d882291d1a774da3269b76ef15cbc3f28bea Mon Sep 17 00:00:00 2001 From: harryswift01 Date: Wed, 19 Aug 2026 13:11:40 +0100 Subject: [PATCH] fix(release): update flit publishing to v4 --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4cf7879..acb34dd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -138,11 +138,11 @@ jobs: - name: Install flit run: | python -m pip install --upgrade pip - python -m pip install flit~=3.9 + python -m pip install "flit>=4,<5" "flit_core>=4,<5" - name: Build and publish run: | - flit publish + flit publish --use-vcs env: FLIT_USERNAME: __token__ FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}