Skip to content

Commit 85ac0d8

Browse files
committed
Print more info in release action
1 parent b54cbbb commit 85ac0d8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,19 @@ jobs:
4646
dev_version="${major}.${minor}.${new_patch}.dev$(date +%s)"
4747
sed -i "s/^version = .*/version = \"$dev_version\"/" pyproject.toml
4848
echo "Bumped version from $current_version to $dev_version"
49+
echo "Current pyproject.toml version line:"
50+
grep '^version =' pyproject.toml
4951
5052
- name: Build package
5153
run: |
5254
uv build
55+
echo "Built packages:"
56+
ls -lh dist/
57+
echo "Checking wheel contents:"
58+
python -m zipfile -l dist/*.whl
59+
echo "Extracting and checking METADATA file:"
60+
python -m zipfile -e dist/*.whl /tmp/wheel_check
61+
find /tmp/wheel_check -name METADATA -exec cat {} \; | head -30
5362
5463
- name: Publish package on PyPI
5564
if: steps.check-version.outputs.tag

0 commit comments

Comments
 (0)