diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0b799f1f7370b37bbec716b563469a5ea1803411..c1bf3fb75f8bbb47a89ffbadd511c4726da42414 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -54,7 +54,7 @@ get_version:
     - 'PVERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.1.1:evaluate -Dexpression=project.version -q -DforceStdout)'
     - 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=project.properties.tei-stylesheet-version -q -DforceStdout)'
+    - '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 "TEI Stylesheets version from main pom file is $TEI_STYLESHEETS_VERSION"
   artifacts: