Skip to content

Commit efbffdb

Browse files
Update update_cli.sh
1 parent 22b34fd commit efbffdb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/scripts/update_cli.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
#!/bin/bash
22

33
release=$1
4-
filename_windows=ast-cli_${release}_windows_x64.tar.gz
4+
filename_windows=ast-cli_${release}_windows_x64.zip
55
filename_linux=ast-cli_${release}_linux_x64.tar.gz
6-
filename_darwin=ast-cli_${release}_darwin_amd64.tar.gz
6+
filename_darwin=ast-cli_${release}_darwin_x64.tar.gz
77

88
#Windows
99
echo "Updating windows binary"
1010
wget https://github.com/Checkmarx/ast-cli/releases/download/${release}/${filename_windows}
11-
mkdir ./tmp/
12-
tar -xvzf ${filename_windows} -C ./tmp/
11+
unzip ${filename_windows} -d tmp
1312
mv ./tmp/cx.exe ./src/main/wrapper/resources/cx.exe
1413
rm -r tmp
1514
rm ${filename_windows}

0 commit comments

Comments
 (0)