test conditions

This commit is contained in:
jem 2021-02-10 14:23:58 +01:00
parent f08bdc082f
commit e3e3c11dd2

View file

@ -72,16 +72,13 @@ upload-release:
test-prerelease: test-prerelease:
stage: test stage: test
rules: rules:
- if: $CI_COMMIT_TAG - if: '$CI_COMMIT_BRANCH == "master" && not($CI_COMMIT_TAG)'
when: never
- if: '$CI_COMMIT_BRANCH == "master"'
script: script:
- echo $CI_COMMIT_TAG - echo $CI_COMMIT_TAG
test-release: test-release:
stage: test stage: test
rules: rules:
- if: $CI_COMMIT_TAG - if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG'
- if: '$CI_COMMIT_BRANCH == "master"'
script: script:
- echo $ - echo $