Skip to content

Commit 9359f14

Browse files
Update update-wrapper-version.yml
1 parent 5f1a0ee commit 9359f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-wrapper-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
if [[ -n "${{ github.event.inputs.version }}" ]]; then
2828
VERSION="${{ github.event.inputs.version }}"
2929
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]')
30+
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]')
3131
fi
3232
3333
# Remove leading 'v' if present

0 commit comments

Comments
 (0)