File tree Expand file tree Collapse file tree 2 files changed +1
-27
lines changed Expand file tree Collapse file tree 2 files changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -4,29 +4,3 @@ release=$1
4
4
filename_windows=ast-cli_${release} _windows_x64.zip
5
5
filename_linux=ast-cli_${release} _linux_x64.tar.gz
6
6
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
- unzip ${filename_windows} -d tmp
12
- mv ./tmp/cx.exe ./src/main/wrapper/resources/cx.exe
13
- rm -r tmp
14
- rm ${filename_windows}
15
-
16
- # linux
17
- echo " Updating linux binary"
18
- wget https://github.com/Checkmarx/ast-cli/releases/download/${release} /${filename_linux}
19
- mkdir ./tmp/
20
- tar -xvzf ${filename_linux} -C ./tmp/
21
- mv ./tmp/cx ./src/main/wrapper/resources/cx-linux
22
- rm -r tmp
23
- rm ${filename_linux}
24
-
25
- # darwin
26
- echo " Updating mac binary"
27
- wget https://github.com/Checkmarx/ast-cli/releases/download/${release} /${filename_darwin}
28
- mkdir ./tmp/
29
- tar -xvzf ${filename_darwin} -C ./tmp/
30
- mv ./tmp/cx ./src/main/wrapper/resources/cx-mac
31
- rm -r tmp
32
- rm ${filename_darwin}
You can’t perform that action at this time.
0 commit comments