diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6f4a50..ba9b80b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,17 +13,11 @@ black: script: - black --check . -pypi_release: +pypi: image: docker.km3net.de/base/python:3 - stage: deploy + stage: release cache: {} script: - pip install -U twine - - python setup.py sdist bdist_wheel - - twine check dist/* - - twine upload --repository-url https://upload.pypi.org/legacy/ dist/* - - pip install helpdev==$CI_COMMIT_TAG - - helpdev --version - - pip uninstall helpdev -y - # only: - # - tags + - python setup.py sdist + - twine upload dist/*