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

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

parent 245cdd3a
No related branches found
No related tags found
No related merge requests found
Pipeline #5856 passed with warnings
...@@ -54,6 +54,11 @@ image: registry.duniter.org/docker/python3/duniterpy-builder:0.0.4 ...@@ -54,6 +54,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
...@@ -101,3 +106,9 @@ releases: ...@@ -101,3 +106,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