Skip to content

Commit 304f19e

Browse files
check cli version only when it is not dev build
1 parent ede146a commit 304f19e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
echo "::set-output name=CLI_VERSION::$CLI_VERSION"
104104
105105
- name: Check if CLI version is latest
106+
if: ${{ github.event.inputs.dev == 'false' }}
106107
id: check_latest_cli_version
107108
run: |
108109
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

Comments
 (0)