From c67a7dbaec93c1febbfdb2998bb2b8f7032e5358 Mon Sep 17 00:00:00 2001 From: Alessio Vertemati Date: Thu, 7 May 2026 14:48:03 +0200 Subject: [PATCH] Set version on release --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c3e8026..601c79d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,12 @@ jobs: - name: Install the latest version of uv and set the python version uses: astral-sh/setup-uv@v7.3.1 with: - python-version: "3.12" + python-version: "3.13" + + - name: Sync version + if: github.event_name == 'release' + run: | + uv version ${{ github.event.release.tag_name }} - name: Build wheel run: | @@ -57,7 +62,7 @@ jobs: with: enable-cache: false ignore-empty-workdir: true - python-version: "3.12" + python-version: "3.13" - name: Download build uses: actions/download-artifact@v8