Skip to content

Commit

Permalink
accomodate two versions of sed
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathf committed Dec 6, 2024
1 parent 7ed6e6f commit 991e9e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ jobs:
platforms: all

- name: Set version
if: matrix.platform != 'macos-arm' && matrix.platform != 'macos-intel'
run: |
sed -i 's/^version = 0\.1\.0$/version = ${{ github.ref_name }}/' setup.cfg
- name: Set version
if: matrix.platform == 'macos-arm' || matrix.platform == 'macos-intel'
run: |
sed -i 's/^version = 0\.1\.0$/version = ${{ github.ref_name }}/' setup.cfg
Expand Down

0 comments on commit 991e9e4

Please sign in to comment.