Skip to content
Snippets Groups Projects

Fix CI publishing.

Merged Oriol.Tinto requested to merge development into main
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -17,7 +17,7 @@ test_docker:
@@ -17,7 +17,7 @@ test_docker:
rules:
rules:
- if: '$CI_COMMIT_TAG == null'
- if: '$CI_COMMIT_TAG == null'
deploy-to-testpypi:
deploy to testpypi:
stage: deploy_test
stage: deploy_test
image: python:3.8
image: python:3.8
tags:
tags:
@@ -29,7 +29,7 @@ deploy-to-testpypi:
@@ -29,7 +29,7 @@ deploy-to-testpypi:
- 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 $PYPI_TEST_USER -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:
@@ -44,7 +44,7 @@ install-from-testpypi:
@@ -44,7 +44,7 @@ install-from-testpypi:
paths:
paths:
- "*.log"
- "*.log"
deploy-to-pypi:
deploy to pypi:
stage: deploy_prod
stage: deploy_prod
image: python:3.8
image: python:3.8
only:
only:
Loading