From afacc96cb1e593e1768f2e1f1847e9d5917cb44b Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Sun, 6 Mar 2022 11:43:00 +0100
Subject: [PATCH] publish package

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 37a1c87..57640c7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ stages:
   - test
   - ragdoc_build
   - ragdoc_view
-  - publish
+  - deploy
 
 before_script:
   - export GRADLE_USER_HOME=`pwd`/.gradle
@@ -72,7 +72,7 @@ ragdoc_view:
 
 pages:
   image: python:3.8-buster
-  stage: publish
+  stage: deploy
   needs:
     - ragdoc_view
     - test
@@ -85,3 +85,12 @@ pages:
   artifacts:
     paths:
       - public
+
+publish_dev:
+  image: openjdk:11
+  stage: deploy
+  needs:
+    - test
+  script:
+    - "./gradlew setDevVersionForCI"
+    - "./gradlew publish"
\ No newline at end of file
-- 
GitLab