diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c1bf3fb75f8bbb47a89ffbadd511c4726da42414..6208b40e257da689b252b9084016d00fca51ca91 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