Skip to content

Commit

Permalink
Fix CD by flattening dist dir (#575)
Browse files Browse the repository at this point in the history
* Fix CD by flattening dist dir

* bump version
  • Loading branch information
almarklein authored Sep 11, 2024
1 parent 5d9c49a commit 627f509
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ jobs:
uses: actions/download-artifact@v4
with:
path: dist
- name: Flatten dist dir
run: find dist -mindepth 2 -type f -exec mv -f '{}' dist/ ';'
- name: Set version from git ref
run: echo "WGPU_PY_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Upload Release Assets
Expand All @@ -138,8 +140,8 @@ jobs:
name: ${{ env.WGPU_PY_VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}
files: |
dist/**/*.tar.gz
dist/**/*.whl
dist/*.tar.gz
dist/*.whl
body: |
Autogenerated binary wheels that include wgpu-native.
See [the changelog](https://github.com/pygfx/wgpu-py/blob/main/CHANGELOG.md) for details.
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Possible sections in each release:
* Security: in case of vulnerabilities.


### [v0.17.2] - 09-08-2024
### [v0.17.3] - 10-09-2024

Added:

Expand All @@ -26,6 +26,7 @@ Added:
* Support for IMGUI, via `wgpu.utils.imgui`.
* Wx is now a fully supported GUI backend.
* A `BaseEnum` class was added to `wgpu.utils`, so it can be used in downstream libs like pygfx.
* The `WGPUCanvas.add_event_handler()` method now has an `order` arg.

Changed:

Expand Down
2 changes: 1 addition & 1 deletion wgpu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from . import resources # noqa: F401,F403


__version__ = "0.17.2"
__version__ = "0.17.3"
version_info = tuple(map(int, __version__.split(".")))


Expand Down

0 comments on commit 627f509

Please sign in to comment.