14 lines
403 B
Bash
Executable File
14 lines
403 B
Bash
Executable File
#!/bin/bash
|
|
|
|
git clone git@dev.sys.reslate.xyz:ydeng/rsemcs.git update-folder
|
|
cd update-folder
|
|
git checkout develop
|
|
mkdir temp
|
|
cd temp
|
|
curl -LOJR https://dev.sys.reslate.xyz/dev-auto/job/ydeng-public/job/rsemcm/job/master/lastSuccessfulBuild/artifact/publish/RSEMCM_server.zip
|
|
unzip RSEMCM_server.zip
|
|
cd ../
|
|
rm -rf ./mods
|
|
mv ./temp/mods ./
|
|
rsync -av --ignore-existing temp/config ./config/.
|
|
rm -r ./temp |