Loading .gitlab-ci.yml +6 −7 Original line number Diff line number Diff line Loading @@ -20,13 +20,13 @@ build-branch: TARGET: "ecloud" rules: # Match expcept tags rule - if: $CI_COMMIT_TAG == null when: always - if: $CI_COMMIT_TAG != null when: never # If branch is a selfhost - if: '$CI_COMMIT_REF_SLUG =~ "/^selfhost*/"' variables: TARGET: "selfhost" - when: never - when: on_success stage: build script: - echo "CI_COMMIT_TAG $CI_COMMIT_TAG" Loading @@ -37,13 +37,12 @@ build-tag: variables: TARGET: "ecloud" rules: - if: $CI_COMMIT_TAG != null when: always - if: $CI_COMMIT_TAG == null when: never - if: '$CI_COMMIT_TAG =~ "/^selfhost*/"' variables: TARGET: "selfhost" when: always - when: never - when: on_success stage: build script: - echo "CI_COMMIT_TAG $CI_COMMIT_TAG" Loading Loading
.gitlab-ci.yml +6 −7 Original line number Diff line number Diff line Loading @@ -20,13 +20,13 @@ build-branch: TARGET: "ecloud" rules: # Match expcept tags rule - if: $CI_COMMIT_TAG == null when: always - if: $CI_COMMIT_TAG != null when: never # If branch is a selfhost - if: '$CI_COMMIT_REF_SLUG =~ "/^selfhost*/"' variables: TARGET: "selfhost" - when: never - when: on_success stage: build script: - echo "CI_COMMIT_TAG $CI_COMMIT_TAG" Loading @@ -37,13 +37,12 @@ build-tag: variables: TARGET: "ecloud" rules: - if: $CI_COMMIT_TAG != null when: always - if: $CI_COMMIT_TAG == null when: never - if: '$CI_COMMIT_TAG =~ "/^selfhost*/"' variables: TARGET: "selfhost" when: always - when: never - when: on_success stage: build script: - echo "CI_COMMIT_TAG $CI_COMMIT_TAG" Loading