Skip to content

Commit 541d44e

Browse files
committed
Update update-cli.yml
1 parent 6d0c28d commit 541d44e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
NEW_CLI_VERSION: ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
4141
run: |
4242
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
43+
# Ensure that 'cliDefaultVersion' is updated correctly
44+
sed -i "s/\(cliDefaultVersion = '\)[^']*\(';\)/\1${NEW_CLI_VERSION}\2/" $FILE_PATH
4545
4646
# Create a Pull Request with the version changes
4747
- name: Create Pull Request

0 commit comments

Comments
 (0)