Skip to content
Snippets Groups Projects
Commit 6908c6aa authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

Add correct expression for getting version

parent 819d9841
No related branches found
No related tags found
No related merge requests found
Pipeline #284863 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment