From d2ab1d28bd5a3c74a1bcef24f2af6b6a05a8a5fd Mon Sep 17 00:00:00 2001 From: az Date: Thu, 25 Nov 2021 11:12:34 +0100 Subject: [PATCH] remove task publish for tags only --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3681ac5..d0fdf46 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,6 +57,8 @@ test: publish: stage: publish + rules: + - if: $CI_COMMIT_TAG == null # don't run for git tags script: - ./gradlew jar - ./gradlew publish