We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1a0ee commit 9359f14Copy full SHA for 9359f14
.github/workflows/update-wrapper-version.yml
@@ -27,7 +27,7 @@ jobs:
27
if [[ -n "${{ github.event.inputs.version }}" ]]; then
28
VERSION="${{ github.event.inputs.version }}"
29
else
30
- VERSION=$(curl -s "https://api.github.com/repos/CheckmarxDev/ast-cli-java-wrapper/releases" | jq -r '[.[] | .tag_name | select(test("^[0-9]+\\.[0-9]+\\.[0-9]+$"))] | sort_by(split(".") | map(tonumber)) | .[-1]')
+ VERSION=$(curl -s "https://api.github.com/repos/Checkmarx/ast-cli-java-wrapper/releases" | jq -r '[.[] | .tag_name | select(test("^[0-9]+\\.[0-9]+\\.[0-9]+$"))] | sort_by(split(".") | map(tonumber)) | .[-1]')
31
fi
32
33
# Remove leading 'v' if present
0 commit comments