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 1
1
#! /bin/bash
2
2
3
3
release=$1
4
- filename_windows=ast-cli_${release} _windows_x64.zip
4
+ filename_windows=ast-cli_${release} _windows_x64.tar.gz
5
5
filename_linux=ast-cli_${release} _linux_x64.tar.gz
6
6
filename_darwin=ast-cli_${release} _darwin_amd64.tar.gz
7
7
8
8
# Windows
9
9
echo " Updating windows binary"
10
10
wget https://github.com/checkmarx/ast-cli/releases/download/${release} /${filename_windows}
11
- unzip ${filename_windows} -d tmp
11
+ tar -xvzf ${filename_windows} -d tmp
12
12
mv ./tmp/cx.exe ./src/main/resources/cx.exe
13
13
rm -r tmp
14
14
rm ${filename_windows}
@@ -17,7 +17,7 @@ rm ${filename_windows}
17
17
echo " Updating linux binary"
18
18
wget https://github.com/checkmarx/ast-cli/releases/download/${release} /${filename_linux}
19
19
mkdir ./tmp/
20
- tar -xvzf ${filename_linux} -C ./tmp/
20
+ tar -xvzf ${filename_linux} -C ./tmp/
21
21
mv ./tmp/cx ./src/main/resources/cx-linux
22
22
rm -r tmp
23
23
rm ${filename_linux}
You can’t perform that action at this time.
0 commit comments