Skip to content

Commit f6d2ad3

Browse files
update binaries location
1 parent 4d8e8f8 commit f6d2ad3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/scripts/update_cli.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ filename_darwin=ast-cli_${release}_darwin_x64.tar.gz
99
echo "Updating windows binary"
1010
wget https://github.com/Checkmarx/ast-cli/releases/download/${release}/${filename_windows}
1111
unzip ${filename_windows} -d tmp
12-
mv ./tmp/cx.exe ./src/main/resources/cx.exe
12+
mv ./tmp/cx.exe ./src/main/wrapper/resources/cx.exe
1313
rm -r tmp
1414
rm ${filename_windows}
1515

@@ -18,7 +18,7 @@ echo "Updating linux binary"
1818
wget https://github.com/Checkmarx/ast-cli/releases/download/${release}/${filename_linux}
1919
mkdir ./tmp/
2020
tar -xvzf ${filename_linux} -C ./tmp/
21-
mv ./tmp/cx ./src/main/resources/cx-linux
21+
mv ./tmp/cx ./src/main/wrapper/resources/cx-linux
2222
rm -r tmp
2323
rm ${filename_linux}
2424

@@ -27,6 +27,6 @@ echo "Updating mac binary"
2727
wget https://github.com/Checkmarx/ast-cli/releases/download/${release}/${filename_darwin}
2828
mkdir ./tmp/
2929
tar -xvzf ${filename_darwin} -C ./tmp/
30-
mv ./tmp/cx ./src/main/resources/cx-mac
30+
mv ./tmp/cx ./src/main/wrapper/resources/cx-mac
3131
rm -r tmp
3232
rm ${filename_darwin}

0 commit comments

Comments
 (0)