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 11#! /bin/bash
22
33release=$1
4- filename_windows=ast-cli_${release} _windows_x64.zip
4+ filename_windows=ast-cli_${release} _windows_x64.tar.gz
55filename_linux=ast-cli_${release} _linux_x64.tar.gz
66filename_darwin=ast-cli_${release} _darwin_amd64.tar.gz
77
88# Windows
99echo " Updating windows binary"
1010wget https://github.com/checkmarx/ast-cli/releases/download/${release} /${filename_windows}
11- unzip ${filename_windows} -d tmp
11+ tar -xvzf ${filename_windows} -d tmp
1212mv ./tmp/cx.exe ./src/main/resources/cx.exe
1313rm -r tmp
1414rm ${filename_windows}
@@ -17,7 +17,7 @@ rm ${filename_windows}
1717echo " Updating linux binary"
1818wget https://github.com/checkmarx/ast-cli/releases/download/${release} /${filename_linux}
1919mkdir ./tmp/
20- tar -xvzf ${filename_linux} -C ./tmp/
20+ tar -xvzf ${filename_linux} -C ./tmp/
2121mv ./tmp/cx ./src/main/resources/cx-linux
2222rm -r tmp
2323rm ${filename_linux}
You can’t perform that action at this time.
0 commit comments