diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5e0eadf0ae4198986f4f1c549941f99dfd3abe6..901b3d8d4713e4bf3d022309a6b1a127bb8e6613 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -304,8 +304,8 @@ pypi-release: TWINE_USERNAME: $PYPI_USERNAME TWINE_PASSWORD: $PYPI_PASSWORD before_script: - - pip install twine setuptools_scm - - python setup.py sdist + - python -m pip install twine setuptools_scm build + - python -m build --sdist --wheel --outdir dist/ . script: - twine upload dist/* only: