We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4dc12f1 + 3e08bc7 commit 39c3d6bCopy full SHA for 39c3d6b
.github/workflows/publish.yml
@@ -28,7 +28,7 @@ jobs:
28
- name: Extract version from pom.xml
29
id: extract_version
30
run: |
31
- VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
+ VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
32
echo "version=$VERSION" >> $GITHUB_OUTPUT
33
echo "Current version: $VERSION"
34
0 commit comments