Skip to content

Commit

Permalink
ci: Fix tagged release
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviermartin committed Feb 22, 2024
1 parent 13bd692 commit 0f6ab98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
env:
CIBW_BEFORE_BUILD_LINUX: "sh ci/install-bluez.sh"
GATTLIB_PY_VERSION: '${{github.ref_name}}'
CIBW_ENVIRONMENT_PASS_LINUX: "GATTLIB_PY_VERSION"
#TODO: To support 'musllinux', we need to replace 'yum install' by 'apk install' - and detect which platform we are
CIBW_SKIP: "*-musllinux_*"
- run: ./ci/generate-python-package.sh
Expand Down Expand Up @@ -74,8 +76,8 @@ jobs:
- run: |
ls *
mkdir dist/
mv python-3.10-binary-package/*.tar.gz dist/
mv python-*-binary-package/*.whl dist/
mv *.tar.gz dist/
mv *.whl dist/
ls dist/*
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 0f6ab98

Please sign in to comment.