From 40795823ad33b7ce718d59715fbc22703afe45a9 Mon Sep 17 00:00:00 2001 From: Nikhil Woodruff Date: Sun, 5 Apr 2026 18:40:28 +0100 Subject: [PATCH] Fix publish workflow: checkout main to get bumped version The build-wheels job was checking out the trigger commit (pre-bump), so wheels were built with the old version. Now checks out main which has the version bump from the versioning job. Co-Authored-By: Claude --- .github/workflows/publish-pypi.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 403e22a..1daf074 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -29,6 +29,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + ref: main - name: Install Rust (container) if: matrix.container != '' @@ -97,6 +99,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + ref: main - name: Set up Python uses: actions/setup-python@v5