From fda1f5f4eb08cdda1970fd001e1f9c5cad2b04a4 Mon Sep 17 00:00:00 2001
From: "Stefan E. Funk" <funk@sub.uni-goettingen.de>
Date: Tue, 26 Apr 2022 18:26:12 +0200
Subject: [PATCH] Using new template for pom version

---
 .gitlab-ci.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6019faef..1d55c62e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,8 +15,6 @@ variables:
   # Nexus Deployment settings, please use env vars in Settings -> CI/CD -> Variables.
   MAVEN_SETTINGS_PATH: ".m2/settings.xml"
   MAVEN_DEPLOY_OPTS: "--settings=$MAVEN_SETTINGS_PATH"
-  # File for storing the POM project.version
-  VARIABLES_FILE: ./variables.txt
 
 # Include Java settings from Gitlab templates repo.
 include:
@@ -48,7 +46,7 @@ Get POM version:
     - main
   stage: build_version
   extends:
-    - .get-pom-version
+    - .get-pom-version-to-env
 
 # Build and deploy all the JARs to GWDG Nexus, and build all the DEBs and store DEBs to artifacts.
 Build and Deploy JARs:
-- 
GitLab