From 81a70ec0fb7304ee9d8559e6ffde83a225e674fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de> Date: Mon, 17 Apr 2023 12:16:59 +0200 Subject: [PATCH] Debug CI publishing. --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a01dc6a..72d7544 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,20 +22,20 @@ 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 - - twine upload -u $PYPI_TEST_USER -p $PYPI_TEST_PASSWORD --repository-url https://test.pypi.org/legacy/ --skip-existing dist/* + - twine upload -u "__token__" -p "$PYPI_TEST_PASSWORD" --repository-url https://test.pypi.org/legacy/ --skip-existing dist/* install-from-testpypi: stage: test_install 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 @@ -55,4 +55,4 @@ deploy-to-pypi: script: - pip install twine - python setup.py sdist bdist_wheel - - twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD --skip-existing dist/* \ No newline at end of file + - twine upload -u "__token__" -p "$PYPI_PASSWORD" --skip-existing dist/* \ No newline at end of file -- GitLab