From a4bfd09bffb7ebec65cc7e3eae640c9fc67d420a Mon Sep 17 00:00:00 2001 From: liufumingren Date: Wed, 28 Oct 2026 00:13:12 +0800 Subject: [PATCH] =?UTF-8?q?chore(release):=20=E5=8F=91=E5=B8=83=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E9=85=8D=E7=BD=AE=E6=94=B9=E4=B8=BA=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=8C=E4=B8=8D=E5=86=8D=E7=BA=B3=E5=85=A5?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit config/deploy.json 含服务器地址、远程目录与私钥路径,且路径指向提交者本机, 其他人打包执行 pack.ps1 的发布步骤会因私钥不存在而中断。 - git rm --cached config/deploy.json(本地文件保留) - .gitignore 增加 config/deploy.json,与 config/android.json 同口径 - 模板仍由 config/deploy.example.json 提供,README 已说明 deploy.json 不提交 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .gitignore | 2 ++ config/deploy.json | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 config/deploy.json diff --git a/.gitignore b/.gitignore index b47e3e4..99a0551 100644 --- a/.gitignore +++ b/.gitignore @@ -45,6 +45,8 @@ static/uview/ # 签名密钥与本地配置(含密码)不提交 android-offline/keystore/ config/android.json +# 发布上传配置(含服务器地址与私钥路径,每台机器不同;模板见 config/deploy.example.json) +config/deploy.json # DCloud 离线 SDK(体积大,按需下载解压,勿提交) android-offline/SDK/ # 原生工程的本地产物(工程源码本身提交,保证发布基座一致) diff --git a/config/deploy.json b/config/deploy.json deleted file mode 100644 index 826063f..0000000 --- a/config/deploy.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "android": { - "host": "112.124.21.102", - "user": "pdadev", - "keyPath": "C:/Users/Administrator/.ssh/pdadev_112.124.21.102_id_ed25519", - "port": 22, - "remoteDir": "/www/wwwroot/dl/pda", - "downloadUrlPrefix": "http://dl.wms.gztbyc.com/pda", - "latestJsonName": "latest.json" - } -}