From 1f6ca1b13c5cd19f224bb5e017a51a7fece12042 Mon Sep 17 00:00:00 2001 From: jerger Date: Thu, 24 Feb 2022 10:25:13 +0100 Subject: [PATCH] omit detached --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7cdfa7..49c73b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,6 +32,8 @@ pylint: pypi-dev: stage: upload rules: + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + when: never - if: '$CI_COMMIT_TAG !~ /^release-.*$/' script: - pip install -r requirements.txt @@ -40,6 +42,8 @@ pypi-dev: pypi-stable: stage: upload rules: + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + when: never - if: '$CI_COMMIT_TAG =~ /^release-.*$/' script: - pyb -P version=${{ github.ref }} publish upload