@echo off
|
|
@REM change to the filepath
|
cd %~dp0
|
@REM echo change to path: %cd%
|
if exist ../../aerial_deploy (
|
echo the folder aerial_deploy is exited, removing it ...
|
rmdir /S /Q "../../aerial_deploy"
|
echo remove done!
|
)
|
|
cd ..
|
git lfs install
|
git lfs pull
|
|
cd %~dp0
|
mkdir "../../aerial_deploy"
|
|
echo setting the env ...
|
tar -xzf "./aerial.tar.gz" -C "../../aerial_deploy"
|
|
cd ..
|
mklink /j ".env" "../aerial_deploy/"
|
|
echo ALL DONE!
|