From d71ac3aa32ec79320c5d149183ba70cc65bc4c4c Mon Sep 17 00:00:00 2001
From: Matthias Konitzny <konitzny@ibr.cs.tu-bs.de>
Date: Wed, 17 Nov 2021 10:50:03 +0000
Subject: [PATCH] The release-job now only runs if build runs (hopefully).

---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 573904d..9349027 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,6 +52,11 @@ release-job:
   stage: release
   image: registry.gitlab.com/gitlab-org/release-cli:latest
   
+  before_script:
+    - ''
+  needs:
+    - build-job
+    
   dependencies:
     - build-job
 
-- 
GitLab