Created
December 26, 2017 09:02
-
-
Save cuixin/da3fbad4a9cf8fa8b169e41626a94dcb to your computer and use it in GitHub Desktop.
my unity game daily build script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir C:\DailyBuild\%date:~10,4%%date:~4,2%%date:~7,2% | |
cd C:\MyGame | |
copy /Y ProjectSettings.asset MyGame\Project\ProjectSettings\ | |
"C:\Program Files\Unity\Editor\Unity.exe" -batchmode -nographics -quit -projectPath "C:\MyGame\Project" -buildTarget Win -buildWindowsPlayer "C:\DailyBuild\%date:~10,4%%date:~4,2%%date:~7,2%\cm.exe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh --login C:/ci/cibuild.sh | |
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /c/MyGame/Project | |
git reset --hard HEAD | |
git pull | |
cd /c/MyGame/Project/Assets/scripts | |
git reset --hard HEAD | |
git pull | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment