From c1891c42db0258f0b42085b8c6fcb6fcaada6a14 Mon Sep 17 00:00:00 2001
From: Janne Mareike Koschinski <janne@kuschku.de>
Date: Mon, 15 Feb 2021 14:19:52 +0100
Subject: [PATCH] Only build artifacts for tags

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b9395ae..d27918b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,7 +52,7 @@ release-artifacts:
     paths:
       - "build/libs/*"
   rules:
-    - if: "$CI_COMMIT_TAG != '' && $CI_COMMIT_BRANCH == 'master'"
+    - if: "$CI_COMMIT_TAG && $CI_COMMIT_BRANCH == 'master'"
       when: on_success
 release-docs:
   stage: "release"
-- 
GitLab