Skip to content

Commit 49ba074

Browse files
Merge pull request #360 from ds-wizard/release/4.27.0-fix
Release 4.27.0 (fix CI, develop)
2 parents 19bc769 + edb698b commit 49ba074

File tree

3 files changed

+9
-24
lines changed

3 files changed

+9
-24
lines changed

.github/workflows/release-package.yml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,39 +24,24 @@ jobs:
2424
- name: Check out repository
2525
uses: actions/checkout@v6
2626

27-
- name: Set up Python
28-
uses: actions/setup-python@v6
29-
with:
30-
python-version: 3.13
31-
cache: pip
32-
cache-dependency-path: |
33-
**/pyproject.toml
34-
**/requirements*.txt
35-
36-
- name: Prepare Python env
37-
run: |
38-
python -m pip install -U pip setuptools wheel
27+
- name: Install uv
28+
uses: astral-sh/setup-uv@v7
3929

4030
- name: Create build info
4131
run: |
4232
bash scripts/build-info.sh
4333
44-
- name: Build package sdist
45-
run: |
46-
cd packages/${{ matrix.package }}
47-
python setup.py sdist
48-
49-
- name: Build package bdist (wheel)
34+
- name: Build distribution packages
5035
run: |
51-
cd packages/${{ matrix.package }}
52-
python setup.py bdist_wheel
36+
uv build --package ${{ matrix.package }}
37+
ls -lah dist/
5338
5439
- name: Publish to PyPI
5540
uses: pypa/gh-action-pypi-publish@release/v1
5641
with:
5742
user: __token__
5843
password: ${{ secrets.PYPI_API_TOKEN }}
59-
packages_dir: packages/${{ matrix.package }}/dist
44+
packages_dir: ./dist
6045
print_hash: true
6146
verbose: true
6247
skip_existing: true
@@ -65,7 +50,7 @@ jobs:
6550
uses: shogo82148/actions-upload-release-asset@v1
6651
with:
6752
upload_url: ${{ github.event.release.upload_url }}
68-
asset_path: packages/${{ matrix.package }}/dist/*
53+
asset_path: ./dist/*
6954

7055
mail-translations:
7156
name: "Mail Template Translations"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "engine-tools"
3-
version = "4.27.0rc1"
3+
version = "4.27.0"
44
description = "Python tools for DSW Engine"
55
readme = "README.md"
66
requires-python = ">=3.12"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)