From 39edc14a3a52f48bd0f989e2bd4f10a02e7e1f1b Mon Sep 17 00:00:00 2001
From: "Stefan E. Funk" <funk@sub.uni-goettingen.de>
Date: Mon, 21 Mar 2022 18:13:31 +0100
Subject: [PATCH] Add new var to var file, not create a new one

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c1bf3fb..6208b40 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,7 +55,7 @@ get_version:
     - echo "export PVERSION=$PVERSION" > $VARIABLES_FILE
     - echo "Project version from main pom file is $PVERSION"
     - 'TEI_STYLESHEETS_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.1.1:evaluate -Dexpression=tei-stylesheet-version -q -DforceStdout)'
-    - echo "export TEI_STYLESHEET_VERSION=$TEI_STYLESHEETS_VERSION" > $VARIABLES_FILE
+    - echo "export TEI_STYLESHEET_VERSION=$TEI_STYLESHEETS_VERSION" >> $VARIABLES_FILE
     - echo "TEI Stylesheets version from main pom file is $TEI_STYLESHEETS_VERSION"
   artifacts:
     name: POM_VERSION
-- 
GitLab