From d0d3115f94a663898a86c4a601b0d9a5986aa24b Mon Sep 17 00:00:00 2001 From: Mykola Dimura <12734546+mdimura@users.noreply.github.com> Date: Thu, 24 Sep 2020 15:27:32 +0200 Subject: [PATCH] Upload source distribution when building wheels --- build-wheels.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-wheels.sh b/build-wheels.sh index 3dba3f3..14f151f 100755 --- a/build-wheels.sh +++ b/build-wheels.sh @@ -33,5 +33,6 @@ repository: https://upload.pypi.org/legacy/ username: $PYPI_USER password: $PYPI_PASS EOF -/opt/_internal/*/bin/twine upload /io/wheelhouse/* +( cd /io; git submodule update --init; ${PYBIN}/python3 setup.py sdist) +/opt/_internal/*/bin/twine upload /io/wheelhouse/* /io/dist/*.tar.gz fi