diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d2ff9b9fe7ba10a56ff2e4a667ef7fee9173891..e161e7aa92c87e4da960ccd8ba8e0b0a2df8dcc4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,7 +64,7 @@ init_submodules: generate-apks: stage: gitlab_release rules: - - if: '$CI_COMMIT_REF_PROTECTED == "true"' + - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"' when: on_success needs: - init_submodules