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