2016-04-02 19:45:20 +00:00
|
|
|
set OUTFILE=BizHawk-Github-Release.zip
|
|
|
|
set WORKDIR=.build-github-release
|
2016-02-16 23:25:39 +00:00
|
|
|
|
|
|
|
set PATH=%PATH%;C:\Program Files (x86)\git\bin;C:\Program Files\git\bin
|
|
|
|
|
|
|
|
rem cleanup old working and output files
|
|
|
|
del ..\..\%OUTFILE%
|
2016-02-16 23:15:03 +00:00
|
|
|
rmdir /s /q %WORKDIR%
|
2016-02-16 23:25:39 +00:00
|
|
|
|
|
|
|
rem prepare working directory for clone
|
2016-02-16 23:15:03 +00:00
|
|
|
mkdir %WORKDIR%
|
|
|
|
|
|
|
|
rem http://stackoverflow.com/questions/13750182/git-how-to-archive-from-remote-repository-directly
|
2016-02-16 23:25:39 +00:00
|
|
|
cd %WORKDIR%
|
2016-09-01 12:26:43 +00:00
|
|
|
git clone --depth=1 --single-branch --branch release http://github.com/TASVideos/BizHawk.git .
|
2016-02-16 23:15:03 +00:00
|
|
|
|
2016-02-16 23:25:39 +00:00
|
|
|
rem use updated build scripts
|
2020-09-16 10:50:59 +00:00
|
|
|
copy /y ..\QuickTestBuildAndPackage_Release.bat dist
|
|
|
|
copy /y ..\QuickTestBuildAndPackage.bat dist
|
2016-02-16 23:25:39 +00:00
|
|
|
|
|
|
|
rem build the branch
|
2016-02-16 23:15:03 +00:00
|
|
|
cd dist
|
2020-09-16 10:50:59 +00:00
|
|
|
call QuickTestBuildAndPackage_Release.bat
|
2016-02-16 23:15:03 +00:00
|
|
|
|
|
|
|
rem make sure we save the output!
|
2016-02-16 23:25:39 +00:00
|
|
|
move BizHawk.zip ..\..\%OUTFILE%
|
2016-02-16 23:15:03 +00:00
|
|
|
|
2016-02-16 23:25:39 +00:00
|
|
|
rem cleanup
|
|
|
|
cd ..\..
|
2016-02-16 23:15:03 +00:00
|
|
|
rmdir /s /q %WORKDIR%
|