Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Udopia committed Oct 24, 2024
1 parent 88a5b85 commit e51797f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
with:
ref: master

- name: Change version in setup.py
working-directory: ${{ github.workspace }}
run: |
PYPI_VERSION=$(echo ${{ github.ref_name }} | sed 's/[a-zA-Z]*//g')
sed -i "s/version=\"[^\"]*\"/version=\"$PYPI_VERSION\"/" setup.py
# - name: Change version in setup.py
# working-directory: ${{ github.workspace }}
# run: |
# PYPI_VERSION=$(echo ${{ github.ref_name }} | sed 's/[a-zA-Z]*//g')
# sed -i "s/version=\"[^\"]*\"/version=\"$PYPI_VERSION\"/" setup.py

- name: Push to github
uses: EndBug/add-and-commit@v9
with:
message: 'Change setup.py version'
# - name: Push to github
# uses: EndBug/add-and-commit@v9
# with:
# message: 'Change setup.py version'

build:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit e51797f

Please sign in to comment.