diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 647c57e..0f756ab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,14 +6,15 @@ release_job: stage: release # It only runs when *both* jobs in the test stage complete successfully. image: registry.gitlab.com/gitlab-org/release-cli:latest - only: - # - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - # - if: $CI_COMMIT_TAG - # when: never - changes: - - data/**/* - - modinfo.lua - - thumb.png + rules: + - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" + - if: $CI_COMMIT_TAG + when: never + - if: + changes: + - data/**/* + - modinfo.lua + - thumb.png script: - echo "Release WPE 2.0_$CI_COMMIT_SHORT_SHA"