diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 667ef597..42ebc293 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -57,5 +57,9 @@ jobs: run: | python -m build + - name: Verify wheel package contents + run: | + python -c 'import pathlib, zipfile; wheel = next(pathlib.Path("dist").glob("*.whl")); names = zipfile.ZipFile(wheel).namelist(); assert any(name.startswith("pythrust/battery/") and name.endswith(".py") for name in names), "pythrust.battery package missing from wheel"' + - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pythrust/__init__.py b/pythrust/__init__.py index fc52ca4c..df3f7851 100644 --- a/pythrust/__init__.py +++ b/pythrust/__init__.py @@ -2,7 +2,7 @@ from pathlib import Path -__version__ = "0.2.2" +__version__ = "0.2.3" def dataset_dir() -> Path: