test more conditions
This commit is contained in:
parent
945d478829
commit
5102bce823
1 changed files with 5 additions and 2 deletions
|
@ -72,13 +72,16 @@ upload-release:
|
|||
test-prerelease:
|
||||
stage: test
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == ""'
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
when: never
|
||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||
script:
|
||||
- echo $CI_COMMIT_TAG
|
||||
|
||||
test-release:
|
||||
stage: test
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG != ""'
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||
script:
|
||||
- echo $
|
||||
|
|
Reference in a new issue