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 6d0c28d commit 541d44eCopy full SHA for 541d44e
.github/workflows/update-cli.yml
@@ -40,8 +40,8 @@ jobs:
40
NEW_CLI_VERSION: ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
41
run: |
42
FILE_PATH="src/main/osinstaller/CxInstaller.ts"
43
- # Update the cliDefaultVersion field in the TypeScript file
44
- sed -i "s/\(private cliDefaultVersion = '\)[^']*\(';\)/\1${NEW_CLI_VERSION}\2/" $FILE_PATH
+ # Ensure that 'cliDefaultVersion' is updated correctly
+ sed -i "s/\(cliDefaultVersion = '\)[^']*\(';\)/\1${NEW_CLI_VERSION}\2/" $FILE_PATH
45
46
# Create a Pull Request with the version changes
47
- name: Create Pull Request
0 commit comments