Skip to content

Commit

Permalink
[CI] update version check
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Jul 19, 2023
1 parent 2155b0b commit e38a031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ jobs:
run: python -m pip install --no-deps --no-index --find-links=dist ${PACKAGE_NAME}==${PACKAGE_VERSION}
- name: Check package version
run: |
[ "${{ github.event.release.tag_name }}" == "$(python -c 'from importlib.metadata import version as v; print(v(\"${{ env.MODULE_NAME }}\"))')" ]
[ "${{ github.event.release.tag_name }}" == $(python -c 'from importlib.metadata import version as v; print(v("${{ env.MODULE_NAME }}"))') ]
shell: bash
- name: Upload Wheels to PyPI
run: python -m twine upload -r ${{ env.TWINE_REPOSITORY }} dist/*.whl
Expand Down

0 comments on commit e38a031

Please sign in to comment.