omit detached

merge-requests/1/head
jerger 2 years ago
parent 8441469c59
commit 1f6ca1b13c

@ -32,6 +32,8 @@ pylint:
pypi-dev: pypi-dev:
stage: upload stage: upload
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_TAG !~ /^release-.*$/' - if: '$CI_COMMIT_TAG !~ /^release-.*$/'
script: script:
- pip install -r requirements.txt - pip install -r requirements.txt
@ -40,6 +42,8 @@ pypi-dev:
pypi-stable: pypi-stable:
stage: upload stage: upload
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_TAG =~ /^release-.*$/' - if: '$CI_COMMIT_TAG =~ /^release-.*$/'
script: script:
- pyb -P version=${{ github.ref }} publish upload - pyb -P version=${{ github.ref }} publish upload

Loading…
Cancel
Save