diff --git a/scripts/game-ci.bat b/scripts/game-ci.bat new file mode 100644 index 00000000..d727e302 --- /dev/null +++ b/scripts/game-ci.bat @@ -0,0 +1,15 @@ +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