diff --git a/8.version/建立分支.bat b/8.version/建立分支.bat index 81ff1b9..2c3755e 100644 --- a/8.version/建立分支.bat +++ b/8.version/建立分支.bat @@ -52,12 +52,14 @@ del /s /q %rootPath%\%appName%.master del /s /q %rootPath%\%appName%.branch.* echo .>%rootPath%\%appName%.branch.v%newVersion% +set d=%date: =0% +set t=%time: =0% set productname=%newVersion%.%d:~2,2%%d:~5,2%%d:~8,2%%t:~0,2%%t:~3,2%%t:~6,2% echo 新版本:%productname% echo %productname%>%versionPath%\version.txt del /s /q %versionPath%\*.panda del /s /q %rootPath%\*.panda - +pause cd /d %rootPath% git add . git commit -m "创建分支 %appName%.branch.v%newVersion%"