Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlvo1 committed Sep 17, 2024
1 parent 5fc39aa commit 62f3865
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
26 changes: 0 additions & 26 deletions .github/scripts/update_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,3 @@ release=$1
filename_windows=ast-cli_${release}_windows_x64.zip
filename_linux=ast-cli_${release}_linux_x64.tar.gz
filename_darwin=ast-cli_${release}_darwin_x64.tar.gz

#Windows
echo "Updating windows binary"
wget https://github.com/Checkmarx/ast-cli/releases/download/${release}/${filename_windows}
unzip ${filename_windows} -d tmp
mv ./tmp/cx.exe ./src/main/wrapper/resources/cx.exe
rm -r tmp
rm ${filename_windows}

#linux
echo "Updating linux binary"
wget https://github.com/Checkmarx/ast-cli/releases/download/${release}/${filename_linux}
mkdir ./tmp/
tar -xvzf ${filename_linux} -C ./tmp/
mv ./tmp/cx ./src/main/wrapper/resources/cx-linux
rm -r tmp
rm ${filename_linux}

#darwin
echo "Updating mac binary"
wget https://github.com/Checkmarx/ast-cli/releases/download/${release}/${filename_darwin}
mkdir ./tmp/
tar -xvzf ${filename_darwin} -C ./tmp/
mv ./tmp/cx ./src/main/wrapper/resources/cx-mac
rm -r tmp
rm ${filename_darwin}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 62f3865

Please sign in to comment.