From 0f6ab9867b4079f9597a2d7b33b63010d87f1761 Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Thu, 22 Feb 2024 13:46:07 +0100 Subject: [PATCH] ci: Fix tagged release --- .github/workflows/github-actions.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 6faf0ff7..aa8fc917 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -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 @@ -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