From 194379bdfc7d272645e2ea437c00798ffe6a66de Mon Sep 17 00:00:00 2001 From: Anson Date: Mon, 20 Jan 2020 17:52:35 -0700 Subject: [PATCH] stackoverflow pls save me --- .gitlab-ci.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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/*