condition test

This commit is contained in:
jem 2021-02-10 14:19:49 +01:00
parent 5102bce823
commit f08bdc082f

View file

@ -72,7 +72,7 @@ upload-release:
test-prerelease: test-prerelease:
stage: test stage: test
rules: rules:
- if: '$CI_COMMIT_TAG' - if: $CI_COMMIT_TAG
when: never when: never
- if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH == "master"'
script: script:
@ -81,7 +81,7 @@ test-prerelease:
test-release: test-release:
stage: test stage: test
rules: rules:
- if: '$CI_COMMIT_TAG' - if: $CI_COMMIT_TAG
- if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH == "master"'
script: script:
- echo $ - echo $