ci(script): 添加临时禁用Git SSL验证并清理.gitignore

修改build-and-publish.bat脚本临时禁用Git SSL验证以提高兼容性
清理.gitignore文件,移除不再需要的资源路径并优化注释结构
This commit is contained in:
祀梦
2026-01-09 09:59:32 +08:00
parent c0a061463b
commit 190a0a4cdb
2 changed files with 9 additions and 14 deletions

View File

@@ -20,6 +20,10 @@ set "BRANCH=main"
REM High memory limit for better performance/stability (8GB)
set "NODE_OPTIONS=--max-old-space-size=8192"
REM Disable Git SSL Verification for this session
git config --global http.sslVerify false
git config --global http.sslBackend openssl
REM Args
set "COMMIT_MSG=%~1"
if "%COMMIT_MSG%"=="" set "COMMIT_MSG=Build: %DATE% %TIME%"