File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ jobs:
3333 run : |
3434 echo ${{ steps.checkmarx-ast-cli.outputs.release_tag }} > checkmarx-ast-cli.version
3535
36- # Update the TypeScript file's cliVersion field
37- - name : Update cliVersion in CxInstaller.ts
36+ # Update the TypeScript file's cliDefaultVersion field
37+ - name : Update cliDefaultVersion in CxInstaller.ts
3838 if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
3939 env :
4040 NEW_CLI_VERSION : ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
4141 run : |
4242 FILE_PATH="src/main/osinstaller/CxInstaller.ts"
43- # Update the cliVersion field in the TypeScript file
43+ # Update the cliDefaultVersion field in the TypeScript file
4444 sed -i "s/\(private cliDefaultVersion = '\)[^']*\(';\)/\1${NEW_CLI_VERSION}\2/" $FILE_PATH
4545
4646 # Create a Pull Request with the version changes
You can’t perform that action at this time.
0 commit comments