From ec852fe6e8e4d78384a66e2315c1c85ecca5e31e Mon Sep 17 00:00:00 2001 From: vtexier <vit@free.fr> Date: Sat, 8 Jun 2019 09:50:55 +0200 Subject: [PATCH] [enh] #54 include "push_to_github" in manual stage "release" after "release_pip" --- .gitlab-ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 94615042..1cacf181 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,8 @@ variables: 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 variables: GIT_STRATEGY: none @@ -48,6 +49,12 @@ push_to_github: - setup.py - tests/**/*.py +.release_pip: &release_pip + script: + - pip install twine + - twine upload dist/* --username duniter --password $PYPI_PASSWORD + +# TASKS format: <<: *pyenv <<: *changes @@ -89,9 +96,8 @@ build: &build releases: <<: *pyenv <<: *build + <<: *release_pip + <<: *push_to_github stage: release when: manual - script: - - pip install twine - - twine upload dist/* --username duniter --password $PYPI_PASSWORD -- GitLab