diff options
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r-- | .gitlab/rules.yml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index fd7948e..d5f8795 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -74,14 +74,21 @@ when: on_success - when: never -.run_only_for_continuous_master: +.run_cmake_org_help: rules: + - if: '$CMAKE_CI_PACKAGE =~ /v[0-9]+\.[0-9]+/' + variables: + RSYNC_DESTINATION: "$CMAKE_CI_PACKAGE" + CMAKE_CI_VERSION_NO_GIT: "ON" + when: manual - if: '$CMAKE_CI_PROJECT_MAIN_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_MAIN_BRANCH == $CI_COMMIT_BRANCH' + variables: + RSYNC_DESTINATION: "git-master" + CMAKE_CI_VERSION_NO_GIT: "OFF" when: on_success - - when: never - -.run_only_for_continuous_stage: - rules: - if: '$CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH == $CI_COMMIT_BRANCH' + variables: + RSYNC_DESTINATION: "git-stage" + CMAKE_CI_VERSION_NO_GIT: "OFF" when: on_success - when: never |