Files
CC-Framework.Commercialization/Update Upm.bat
2023-01-10 18:03:30 +08:00

20 lines
358 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
echo 开始提交到git upm....
:setVersion
set /p var=请输入本次提交Upm版本号
set /p Flg="确认提交的版本号%var%,是否开始提交(y/n):"
IF "%Flg%" equ "y" (
echo 开始提交,请勿关闭该窗口!
git subtree split --prefix=Assets --branch upm
git tag %var% upm
git push origin upm --tags
GOTO :END
)
GOTO :setVersion
:END
echo 推送到upm成功!
pause
exit