修改错误

This commit is contained in:
潘佳 2024-01-07 23:37:02 +08:00
parent 343e6b36f9
commit 7ae44f2ac8

View File

@ -52,12 +52,14 @@ del /s /q %rootPath%\%appName%.master
del /s /q %rootPath%\%appName%.branch.* del /s /q %rootPath%\%appName%.branch.*
echo .>%rootPath%\%appName%.branch.v%newVersion% 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% 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%
echo %productname%>%versionPath%\version.txt echo %productname%>%versionPath%\version.txt
del /s /q %versionPath%\*.panda del /s /q %versionPath%\*.panda
del /s /q %rootPath%\*.panda del /s /q %rootPath%\*.panda
pause
cd /d %rootPath% cd /d %rootPath%
git add . git add .
git commit -m "创建分支 %appName%.branch.v%newVersion%" git commit -m "创建分支 %appName%.branch.v%newVersion%"