From 04c58aacc91b5a268c033b2de599f25dcea46906 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 22 Jul 2024 14:07:57 -0400 Subject: [PATCH] Fix pypi-publish.yml for paths with spaces (#844) --- .github/workflows/pypi-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 14f2152a..fccc0ef8 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -76,7 +76,7 @@ jobs: f.write(f"TWINE_PASSWORD={pypi_token}\n") shell: python - - run: twine upload --skip-existing $(find dist/ -type f -name 'bcrypt*') + - run: find dist/ -type f -name 'bcrypt*' -print0 | xargs -0 twine upload --skip-existing # Do not perform attestation for things for TestPyPI. This is because # there's nothing that would prevent a malicious PyPI from serving a