From d96e712dde50ad7ef816365f7aa77221756101f6 Mon Sep 17 00:00:00 2001 From: jericht <68654047+jericht@users.noreply.github.com> Date: Thu, 18 Jun 2026 21:28:28 +0000 Subject: [PATCH] fix: patch version in sdist release build too Signed-off-by: jericht <68654047+jericht@users.noreply.github.com> --- .github/workflows/reusable_maturin_prerelease.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/reusable_maturin_prerelease.yml b/.github/workflows/reusable_maturin_prerelease.yml index 5a0ac8a..4972e89 100644 --- a/.github/workflows/reusable_maturin_prerelease.yml +++ b/.github/workflows/reusable_maturin_prerelease.yml @@ -81,6 +81,16 @@ jobs: ref: refs/tags/${{ inputs.tag }} fetch-depth: 0 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Inject version + if: inputs.version-script != '' + run: ${{ inputs.version-script }} + shell: bash + - name: Build sdist uses: PyO3/maturin-action@v1 with: