Skip to content
Snippets Groups Projects
Commit dac9ac4e authored by Vincent Texier's avatar Vincent Texier
Browse files

[enh] #96 add manual release_test job to upload on test.pypi.org

parent fc83b965
No related branches found
No related tags found
1 merge request!67Merge of pep_561_mypy to dev
...@@ -53,6 +53,11 @@ image: registry.duniter.org/docker/python3/duniterpy-builder:0.0.4 ...@@ -53,6 +53,11 @@ image: registry.duniter.org/docker/python3/duniterpy-builder:0.0.4
- pip install twine - pip install twine
- twine upload dist/* --username duniter --password $PYPI_PASSWORD - twine upload dist/* --username duniter --password $PYPI_PASSWORD
.release_pip_test: &release_pip_test
script:
- pip install twine
- twine upload dist/* --username duniter --password $PYPI_PASSWORD --repository-url https://test.pypi.org/legacy/
# TASKS # TASKS
format: format:
<<: *pyenv <<: *pyenv
...@@ -100,3 +105,9 @@ releases: ...@@ -100,3 +105,9 @@ releases:
stage: release stage: release
when: manual when: manual
release_test:
<<: *pyenv
<<: *build
<<: *release_pip_test
stage: release
when: manual
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment