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 5c10fbe commit 21488e0Copy full SHA for 21488e0
.github/workflows/release.yml
@@ -60,7 +60,7 @@ jobs:
60
echo "::set-output name=CLI_VERSION::$CLI_VERSION"
61
62
- name: Check if CLI version is latest
63
- if: ${{ github.event.inputs.dev == 'false' }}
+ if: ${{ github.event.inputs.dev == 'false' && !github.event.inputs.cliTag && github.ref == 'refs/heads/main' }}
64
id: check_latest_cli_version
65
run: |
66
LATEST_CLI_VERSION=$(curl -s https://api.github.com/repos/Checkmarx/ast-cli/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
0 commit comments