# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1671456819 -3600 # Mon Dec 19 14:33:39 2022 +0100 # Node ID 6f4debaa1c4855cb4bcfabc08d70939fc9e7e4f2 # Parent b97da131790dd94c5238ee8feb7a9a71bc515806 🚀 only built packages on tags, this avoids conflict and will need less maintenance diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -203,10 +203,10 @@ upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* rules: - - if: $CI_COMMIT_BRANCH =~ /^topic\/.*/ + - if: $CI_COMMIT_BRANCH =~ /^topic\/.*/ || $CI_COMMIT_BRANCH =~ /^branch\/.*/ when: manual allow_failure: true - - if: $CI_COMMIT_BRANCH =~ /^branch\/.*/ || $CI_COMMIT_TAG + - if: $CI_COMMIT_TAG release_job: stage: deploy