From 28e0d33fc8120a281843131efafd7b6e48f93c26 Mon Sep 17 00:00:00 2001 From: smail Date: Thu, 1 Oct 2026 11:53:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=8E=E7=A1=AE=E5=8D=87=E7=BA=A7=E4=B8=8E?= =?UTF-8?q?=E5=85=A8=E6=96=B0=E9=83=A8=E7=BD=B2=E7=9A=84=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=BE=B9=E7=95=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新本地部署输出,说明全新部署需显式确认,并明确安装脚本不会自动删除外部数据库。 --- deploy/deploy-runtime.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/deploy-runtime.ps1 b/deploy/deploy-runtime.ps1 index e6f5e37..0ad50c4 100644 --- a/deploy/deploy-runtime.ps1 +++ b/deploy/deploy-runtime.ps1 @@ -40,7 +40,7 @@ foreach ($item in $receipt.files) { } & node (Join-Path $PSScriptRoot 'build-state.mjs') verify --deployed if ($LASTEXITCODE -ne 0) { throw '部署校验失败,禁止启动;旧程序备份保留在 out/deployment-history' } -Write-Output '最新程序已部署到 yunx-test;正常升级不会覆盖配置、证书或数据库。全新部署必须使用独立的空运行目录。' +Write-Output '最新程序已部署到 yunx-test;正常升级不会覆盖配置、证书或数据库。需要全新部署时,请使用平台安装脚本的 --fresh 或 -Fresh 参数并输入确认词;外部数据库不会被安装脚本自动删除。' } finally { if ($lock) { $lock.Dispose() } }