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

[enh] #54 include "push_to_github" in manual stage "release" after "release_pip"

parent e0eb6c82
No related branches found
No related tags found
No related merge requests found
Pipeline #5805 failed
...@@ -11,7 +11,8 @@ variables: ...@@ -11,7 +11,8 @@ variables:
image: registry.duniter.org/docker/python3/duniterpy-builder:0.0.4 image: registry.duniter.org/docker/python3/duniterpy-builder:0.0.4
push_to_github: # SUB-TASKS
.push_to_github: &push_to_github
stage: github-sync stage: github-sync
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
...@@ -48,6 +49,12 @@ push_to_github: ...@@ -48,6 +49,12 @@ push_to_github:
- setup.py - setup.py
- tests/**/*.py - tests/**/*.py
.release_pip: &release_pip
script:
- pip install twine
- twine upload dist/* --username duniter --password $PYPI_PASSWORD
# TASKS
format: format:
<<: *pyenv <<: *pyenv
<<: *changes <<: *changes
...@@ -89,9 +96,8 @@ build: &build ...@@ -89,9 +96,8 @@ build: &build
releases: releases:
<<: *pyenv <<: *pyenv
<<: *build <<: *build
<<: *release_pip
<<: *push_to_github
stage: release stage: release
when: manual when: manual
script:
- pip install twine
- twine upload dist/* --username duniter --password $PYPI_PASSWORD
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment