Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlvo1 committed Sep 23, 2024
1 parent 0c65786 commit 4a79b4b
Show file tree
Hide file tree
Showing 20 changed files with 643 additions and 131 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
run: |
echo "Getting js wrapper ${{inputs.jsTag}} version..."
JS_VERSION_NAME=$(curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/orgs/CheckmarxDev/packages/npm/ast-cli-javascript-wrapper/versions | jq '.[]|select((.name | contains("-${{inputs.jsTag}}.0")) or .name == "${{inputs.jsTag}}")|.name' | tr -d '"')
JS_VERSION_NAME=$(curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/orgs/CheckmarxDev/packages/npm/ast-cli-javascript-wrapper-runtime-cli/versions | jq '.[]|select((.name | contains("-${{inputs.jsTag}}.0")) or .name == "${{inputs.jsTag}}")|.name' | tr -d '"')
if [ ${JS_VERSION_NAME} != '' ]; then
echo "Install JS Wrapper version ${JS_VERSION_NAME}"
Expand Down
Loading

0 comments on commit 4a79b4b

Please sign in to comment.