Skip to content

Commit

Permalink
ci(pypi_release): Use build --sdist argument to avoid building non-un…
Browse files Browse the repository at this point in the history
…iversal whl
  • Loading branch information
matthuisman committed Sep 23, 2024
1 parent 197845b commit 5de78d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev_release_esptool_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ jobs:
python -m pip download esptool==$(python setup.py -V) && echo "Version ${{ github.ref_name }} already published, skipping..." && exit 1
echo "Packaging and publishing new esptool development release: ${{ github.ref_name }}"
python -m build
python -m build --sdist
twine upload dist/*
2 changes: 1 addition & 1 deletion .github/workflows/release_esptool_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
exit 1
else
echo "Packaging and publishing new esptool version: ${CURRENT_VERSION}"
python -m build
python -m build --sdist
twine upload dist/*
fi

0 comments on commit 5de78d3

Please sign in to comment.