From 76b08c0a88767ce3a3613c19ceb210908d678e42 Mon Sep 17 00:00:00 2001 From: Boris Bolliet Date: Wed, 2 Oct 2024 12:17:09 +0100 Subject: [PATCH] Update build_wheels.yml --- .github/workflows/build_wheels.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 2f0c5787..5f96614f 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -48,7 +48,8 @@ jobs: # Use bump2version with --current-version flag # bump2version --current-version "$current_version" --new-version "$new_version" patch setup.py # Update version in setup.py using sed - sed -i '' "s/version=\"$current_version\"/version=\"$new_version\"/" setup.py + # sed -i '' "s/version=\"$current_version\"/version=\"$new_version\"/" setup.py + sed -i "s|version=\"[^\"]*\"|version=\"$new_version\"|" setup.py env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}