image: clarinpl/python:3.8 cache: paths: - .tox stages: - publish pypi_publish: before_script: - pip install build twine - pip install urllib3==1.26.6 only: - main stage: publish script: - python -m build - python -m twine upload --skip-existing --repository-url https://pypi.clarin-pl.eu/ -u $PIPY_USER -p $PIPY_PASS dist/combo*.whl