Skip to content

Commit 5de78d3

Browse files
committed
ci(pypi_release): Use build --sdist argument to avoid building non-universal whl
1 parent 197845b commit 5de78d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/dev_release_esptool_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ jobs:
3636
python -m pip download esptool==$(python setup.py -V) && echo "Version ${{ github.ref_name }} already published, skipping..." && exit 1
3737
3838
echo "Packaging and publishing new esptool development release: ${{ github.ref_name }}"
39-
python -m build
39+
python -m build --sdist
4040
twine upload dist/*

.github/workflows/release_esptool_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
exit 1
3535
else
3636
echo "Packaging and publishing new esptool version: ${CURRENT_VERSION}"
37-
python -m build
37+
python -m build --sdist
3838
twine upload dist/*
3939
fi

0 commit comments

Comments
 (0)