Skip to content

Commit 627f509

Browse files
authored
Fix CD by flattening dist dir (#575)
* Fix CD by flattening dist dir * bump version
1 parent 5d9c49a commit 627f509

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ jobs:
129129
uses: actions/download-artifact@v4
130130
with:
131131
path: dist
132+
- name: Flatten dist dir
133+
run: find dist -mindepth 2 -type f -exec mv -f '{}' dist/ ';'
132134
- name: Set version from git ref
133135
run: echo "WGPU_PY_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
134136
- name: Upload Release Assets
@@ -138,8 +140,8 @@ jobs:
138140
name: ${{ env.WGPU_PY_VERSION }}
139141
token: ${{ secrets.GITHUB_TOKEN }}
140142
files: |
141-
dist/**/*.tar.gz
142-
dist/**/*.whl
143+
dist/*.tar.gz
144+
dist/*.whl
143145
body: |
144146
Autogenerated binary wheels that include wgpu-native.
145147
See [the changelog](https://github.com/pygfx/wgpu-py/blob/main/CHANGELOG.md) for details.

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Possible sections in each release:
1717
* Security: in case of vulnerabilities.
1818

1919

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

2222
Added:
2323

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

3031
Changed:
3132

wgpu/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from . import resources # noqa: F401,F403
1414

1515

16-
__version__ = "0.17.2"
16+
__version__ = "0.17.3"
1717
version_info = tuple(map(int, __version__.split(".")))
1818

1919

0 commit comments

Comments
 (0)