mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
16 lines
712 B
Batchfile
16 lines
712 B
Batchfile
echo "installing game-ci cli"
|
|
if exist %UserProfile%\AppData\LocalLow\game-ci\ (
|
|
echo Installed Updating
|
|
git -C %UserProfile%\AppData\LocalLow\game-ci\ fetch
|
|
git -C %UserProfile%\AppData\LocalLow\game-ci\ reset --hard
|
|
git -C %UserProfile%\AppData\LocalLow\game-ci\ pull
|
|
git -C %UserProfile%\AppData\LocalLow\game-ci\ branch
|
|
) else (
|
|
echo Not Installed Downloading...
|
|
mkdir %UserProfile%\AppData\LocalLow\game-ci\
|
|
git clone https://github.com/game-ci/unity-builder %UserProfile%\AppData\LocalLow\game-ci\
|
|
)
|
|
|
|
call yarn --cwd %UserProfile%\AppData\LocalLow\game-ci\ install
|
|
call yarn --cwd %UserProfile%\AppData\LocalLow\game-ci\ run gcp-secrets-cli %* --projectPath %cd% --awsStackName game-ci-cli
|