From 50647f25ef3d95d5d4cfbdb4d0745cc91be14664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de> Date: Mon, 17 Apr 2023 13:51:56 +0200 Subject: [PATCH] Clean .gitlab-ci.yml --- .gitlab-ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46d8d6a..221d62e 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 -- GitLab