From dc01a0de95dbd7531c8f7ca464b9a3b7e4bcf851 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 14 May 2023 02:14:50 +0100 Subject: [PATCH] latest develop --- scripts/game-ci.bat | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/game-ci.bat 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