fix(发布): 规范远端命令换行

This commit is contained in:
WuYongJie 2026-07-10 17:07:59 +08:00
parent d1f96859f3
commit 81d1419ef5

View File

@ -321,6 +321,7 @@ $deployCommand = $deployCommand.Replace("__REMOTE_DIR__", $remoteDirLiteral)
$deployCommand = $deployCommand.Replace("__REMOTE_ARCHIVE__", $remoteArchiveLiteral)
$deployCommand = $deployCommand.Replace("__SKIP_DEPLOY__", $skipDeployValue)
$deployCommand = $deployCommand.Replace("__SKIP_BACKUP__", $skipBackupValue)
$deployCommand = $deployCommand.Replace("`r`n", "`n")
try {
[System.IO.File]::WriteAllText(