test more conditions

master
jem 3 years ago
parent 945d478829
commit 5102bce823

@ -72,13 +72,16 @@ upload-release:
test-prerelease: test-prerelease:
stage: test stage: test
rules: rules:
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == ""' - if: '$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_BRANCH == "master" && $CI_COMMIT_TAG != ""' - if: '$CI_COMMIT_TAG'
- if: '$CI_COMMIT_BRANCH == "master"'
script: script:
- echo $ - echo $