We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22b34fd commit efbffdbCopy full SHA for efbffdb
.github/scripts/update_cli.sh
@@ -1,15 +1,14 @@
1
#!/bin/bash
2
3
release=$1
4
-filename_windows=ast-cli_${release}_windows_x64.tar.gz
+filename_windows=ast-cli_${release}_windows_x64.zip
5
filename_linux=ast-cli_${release}_linux_x64.tar.gz
6
-filename_darwin=ast-cli_${release}_darwin_amd64.tar.gz
+filename_darwin=ast-cli_${release}_darwin_x64.tar.gz
7
8
#Windows
9
echo "Updating windows binary"
10
wget https://github.com/Checkmarx/ast-cli/releases/download/${release}/${filename_windows}
11
-mkdir ./tmp/
12
-tar -xvzf ${filename_windows} -C ./tmp/
+unzip ${filename_windows} -d tmp
13
mv ./tmp/cx.exe ./src/main/wrapper/resources/cx.exe
14
rm -r tmp
15
rm ${filename_windows}
0 commit comments