diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46d8d6a33a6b2595a1a06688928774251d8e0979..221d62ef4d5756f0030e8360dea3f89bb41d782e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,14 +22,11 @@ deploy to testpypi: image: python:3.8 tags: - docker.meteo.physik.lmu.de -# only: -# - tags + only: + - tags script: - pip install twine - python setup.py sdist bdist_wheel - - echo "Dummy:'$ENVTEST'" - - echo "Dummy:$ENVTEST" - - echo "My password is:'$PYPI_TEST_PASSWORD'" - twine upload -u "__token__" -p "$PYPI_TEST_PASSWORD" --repository-url https://test.pypi.org/legacy/ --skip-existing dist/* install from testpypi: @@ -37,8 +34,8 @@ install from testpypi: image: python:3.8 tags: - docker.meteo.physik.lmu.de -# only: -# - tags + only: + - tags needs: ["deploy-to-testpypi"] script: - pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-encoding