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 270ba6a commit a7cf3b9Copy full SHA for a7cf3b9
.github/workflows/release.yml
@@ -105,7 +105,7 @@ jobs:
105
- name: Check if CLI version is latest
106
id: check_latest_cli_version
107
run: |
108
- LATEST_CLI_VERSION=$(curl -s https://api.github.com/repos/Checkmarx/ast-cli/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
+ LATEST_CLI_VERSION=$(curl -s https://api.github.com/repos/Checkmarx/ast-cli/releases/latest | grep '"tag":' | sed -E 's/.*"([^"]+)".*/\1/')
109
echo "CLI_VERSION=[$CLI_VERSION]"
110
echo "LATEST_CLI_VERSION=[$LATEST_CLI_VERSION]"
111
echo "Latest CLI version from GitHub: $LATEST_CLI_VERSION"
0 commit comments