Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runs:
- name: Read revision version from pom.xml
shell: bash --noprofile --norc -euo pipefail {0}
run: |
if [ ${{ inputs.SUB_MODULE != '' }} ]; then SUB_MODULE="--projects :${{ inputs.SUB_MODULE }}"; else SUB_MODULE=""; fi
if [ ${{ inputs.SUB_MODULE == '' }} ]; then SUB_MODULE=""; else SUB_MODULE="--projects :${{ inputs.SUB_MODULE }}"; fi
if ./mvnw --version | grep -q 'Apache Maven Daemon'; then
# Using mvnd – need --raw-streams for proper output, fix for https://github.com/apache/maven-mvnd/issues/1026
REVISION_VERSION="$(./mvnw --raw-streams help:evaluate -Dexpression=revision -DforceStdout -q $SUB_MODULE)"
Expand Down