File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ rem ============================================================================
1414@ echo " start to build 2020_3_version1"
1515
1616cd %ProjectPath%
17+ git stash
18+ git reset HEAD --hard
1719git checkout 2020_3_version1
1820del %ProjectPath% \Assets\AndroidIl2cppPatchDemo\PrebuiltPatches\AllAndroidPatchFiles_version1.zip
1921%BuildCmd% -executeMethod AndroidBuilder.BuildPatch -logFile build_version1.log
@@ -29,6 +31,7 @@ rem ============================================================================
2931@ echo " start to build 2020_3_version2"
3032
3133cd %ProjectPath%
34+ git reset HEAD --hard
3235git checkout 2020_3_version2
3336del %ProjectPath% \Assets\AndroidIl2cppPatchDemo\PrebuiltPatches\AllAndroidPatchFiles_version2.zip
3437%BuildCmd% -executeMethod AndroidBuilder.BuildPatch -logFile build_version2.log
@@ -44,6 +47,7 @@ rem ============================================================================
4447@ echo " start to build base version apk"
4548
4649cd %ProjectPath%
50+ git reset HEAD --hard
4751git checkout 2020_3_base
4852%BuildCmd% -executeMethod AndroidBuilder.BuildWithoutPatch -logFile build_version0.log
4953if not exist " %ProjectPath% \AndroidGradleProject_v1.0\Test\src\main\bin\com.test.test.apk" (
You can’t perform that action at this time.
0 commit comments