From 7ae44f2ac8261a29f7c08fcbecdc4e491e6a161d Mon Sep 17 00:00:00 2001 From: panjia Date: Sun, 7 Jan 2024 23:37:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 8.version/建立分支.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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%"