Skip to content
Snippets Groups Projects

Fix CI publishing.

Merged Oriol.Tinto requested to merge development into main
1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
+ 6
6
@@ -22,20 +22,20 @@ deploy to testpypi:
@@ -22,20 +22,20 @@ deploy to testpypi:
image: python:3.8
image: python:3.8
tags:
tags:
- docker.meteo.physik.lmu.de
- docker.meteo.physik.lmu.de
only:
# only:
- tags
# - tags
script:
script:
- pip install twine
- pip install twine
- python setup.py sdist bdist_wheel
- 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:
install from testpypi:
stage: test_install
stage: test_install
image: python:3.8
image: python:3.8
tags:
tags:
- docker.meteo.physik.lmu.de
- docker.meteo.physik.lmu.de
only:
# only:
- tags
# - tags
needs: ["deploy-to-testpypi"]
needs: ["deploy-to-testpypi"]
script:
script:
- pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-encoding
- 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:
@@ -55,4 +55,4 @@ deploy to pypi:
script:
script:
- pip install twine
- pip install twine
- python setup.py sdist bdist_wheel
- python setup.py sdist bdist_wheel
- twine upload -u $PYPI_USERNAME -p $PYPI_PASSWORD --skip-existing dist/*
- twine upload -u "__token__" -p "$PYPI_PASSWORD" --skip-existing dist/*
\ No newline at end of file
\ No newline at end of file
Loading