Skip to content

Commit 0f6ab98

Browse files
committed
ci: Fix tagged release
1 parent 13bd692 commit 0f6ab98

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/github-actions.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
if: startsWith(github.ref, 'refs/tags/')
3434
env:
3535
CIBW_BEFORE_BUILD_LINUX: "sh ci/install-bluez.sh"
36+
GATTLIB_PY_VERSION: '${{github.ref_name}}'
37+
CIBW_ENVIRONMENT_PASS_LINUX: "GATTLIB_PY_VERSION"
3638
#TODO: To support 'musllinux', we need to replace 'yum install' by 'apk install' - and detect which platform we are
3739
CIBW_SKIP: "*-musllinux_*"
3840
- run: ./ci/generate-python-package.sh
@@ -74,8 +76,8 @@ jobs:
7476
- run: |
7577
ls *
7678
mkdir dist/
77-
mv python-3.10-binary-package/*.tar.gz dist/
78-
mv python-*-binary-package/*.whl dist/
79+
mv *.tar.gz dist/
80+
mv *.whl dist/
7981
ls dist/*
8082
- name: Publish distribution 📦 to PyPI
8183
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)