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:
33
33
run : |
34
34
echo ${{ steps.checkmarx-ast-cli.outputs.release_tag }} > checkmarx-ast-cli.version
35
35
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
38
38
if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
39
39
env :
40
40
NEW_CLI_VERSION : ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
41
41
run : |
42
42
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
44
44
sed -i "s/\(private cliDefaultVersion = '\)[^']*\(';\)/\1${NEW_CLI_VERSION}\2/" $FILE_PATH
45
45
46
46
# Create a Pull Request with the version changes
You can’t perform that action at this time.
0 commit comments