From 5102bce823470b68456f1ce00ce6e3c2ca4e2ce5 Mon Sep 17 00:00:00 2001 From: jem Date: Wed, 10 Feb 2021 14:10:04 +0100 Subject: [PATCH] test more conditions --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db4d1a6..344198b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 $