From ca2385ce5780610a49bdef616e6ff23276bef264 Mon Sep 17 00:00:00 2001
From: Sven Marcus <s.marcus@outlook.de>
Date: Mon, 19 Oct 2020 16:03:49 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 01b857f8c..9ac1a2b48 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -53,7 +53,7 @@ test_python_bindings:
 
 
 build_singularity_image:
-  stage: release
+  stage: build
   rules:
     - if: $CI_COMMIT_TAG
 
@@ -67,7 +67,7 @@ build_singularity_image:
 create_release:
   image: registry.gitlab.com/gitlab-org/release-cli:latest
   stage: release
-  needs: "build_singularity_image"
+  needs: ["build_singularity_image"]
   rules:
     - if: $CI_COMMIT_TAG
 
@@ -78,11 +78,4 @@ create_release:
       --tag-name "$CI_COMMIT_TAG" \
       --ref "$CI_COMMIT_SHA" \
       --job-token "$CI_JOB_TOKEN" \
-      --assets-link='{"name": "VirtualFluidsSingularityImage_OpenMPI", "url":"", "type": "other", "filepath": "Containers/VirtualFluidsOpenMPI.sif" }'
-
-  #release:
-  #  tag_name: $CI_COMMIT_TAG
-  #  name: "VirtualFluids $CI_COMMIT_TAG"
-  #  description: "VirtualFluids CFD Simulator"
-
-   
+      --assets-link="{'name':'VirtualFluidsSingularityImage_OpenMPI','url':'','type':'other','filepath':'Containers/VirtualFluidsOpenMPI.sif'}"
\ No newline at end of file
-- 
GitLab